The Wayback Machine - https://web.archive.org/web/20201020065143/https://gist.github.com/discover
Skip to content

Instantly share code, notes, and snippets.

View isEven.cpp
bool isEven (int n)
{
if ((1 << n) % 10 == 2 || (1 << n) % 10 == 8)
{
return false;
}
else
{
return true;
}
@Ruadgedy
Ruadgedy / spring-boot-mybatis_.gitignore
Created Oct 20, 2020
该项目整合了springboot和mybatis。主要使用的是注解方式的mybatis。实现了一对一和一对多查询
View spring-boot-mybatis_.gitignore
HELP.md
target/
!.mvn/wrapper/maven-wrapper.jar
!**/src/main/**/target/
!**/src/test/**/target/
### STS ###
.apt_generated
.classpath
.factorypath
View attempt-1-css3-clickable-slider.markdown
@HugsLibRecordKeeper
HugsLibRecordKeeper / output_log.txt
Created Oct 20, 2020
Rimworld output log published using HugsLib
View output_log.txt
Log uploaded on Monday, October 19, 2020, 11:50:29 PM
Loaded mods:
Harmony(brrainz.harmony)[mv:1.0.4.0]: 0Harmony(2.0.2), HarmonyMod(1.0.4)
Core(Ludeon.RimWorld): (no assemblies)
Royalty(Ludeon.RimWorld.Royalty): (no assemblies)
HugsLib(UnlimitedHugs.HugsLib)[ov:8.0.1]: 0Harmony(av:2.0.2,fv:1.2.0.1), HugsLib(av:1.0.0,fv:8.0.1)
[KV] RimFridge(rimfridge.kv.rw)[ov:1.2.1.1]: RimFridge(1.2.1), SaveStorageSettingsUtil(1.0.0)
LWM's Deep Storage(LWM.DeepStorage)[mv:1.2.0.4]: IHoldMultipleThings(av:0.1.0,fv:1.0.0), LWM.DeepStorage(1.0.0.26278)
[KV] Trading Spot(tradingspot.kv.rw)[ov:1.2.0.0]: TradingSpot(1.0.0)
Defensive Positions(UnlimitedHugs.DefensivePositions): 0MultiplayerAPI(av:0.1.0,fv:0.1.0), DefensivePositions(av:1.7.0,fv:1.10.0)
@lolaodelola
lolaodelola / index.css
Created Oct 20, 2020
web phone index css
View index.css
*, *:before, *:after {
box-sizing: border-box;
}
body {
color: darkslategrey;
display: flex;
align-items: center;
justify-content: center;
background: antiquewhite;
View cargo.toml
[package]
name = "cli-grpc-tonic-blocking"
version = "0.1.0"
authors = ["T.J. Telan <t.telan@gmail.com>"]
edition = "2018"
[dependencies]
# gRPC server/client
tonic = "0.3.0"
prost = "0.6"
View app.component.ts
import { HttpClient, HttpResponse } from '@angular/common/http';
import { Component, OnInit } from '@angular/core';
import { promise } from 'protractor';
@Component({
selector: 'app-root',
templateUrl: './app.component.html',
styleUrls: ['./app.component.scss']
})
export class AppComponent {
@lolaodelola
lolaodelola / index.html
Created Oct 20, 2020
Web Phone index.html web phone index.html file
View index.html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Teleprompter!</title>
<meta property="og:title" content="Teleprompter!">
View cargo.toml
[package]
name = "cli-grpc-tonic-blocking"
version = "0.1.0"
authors = ["T.J. Telan <t.telan@gmail.com>"]
edition = "2018"
[dependencies]
# CLI
structopt = "0.3"
You can’t perform that action at this time.