Skip to content

Instantly share code, notes, and snippets.

View SanDeGo-qt.pro.patch
diff --git a/SanDeGo-qt.pro b/SanDeGo-qt.pro
index 640f993..cacfb07 100644
--- a/SanDeGo-qt.pro
+++ b/SanDeGo-qt.pro
@@ -45,7 +45,7 @@ QMAKE_LFLAGS *= -fstack-protector-all --param ssp-buffer-size=1
}
# for extra security on Windows: enable ASLR and DEP via GCC linker flags
win32:QMAKE_LFLAGS *= -Wl,--dynamicbase -Wl,--nxcompat
-win32:QMAKE_LFLAGS += -static-libgcc -static-libstdc++
+win32:QMAKE_LFLAGS += -static -static-libgcc -static-libstdc++
View clojure-shell-analogs.md
Clojure Shell Notes
butlast sed '$d'
clojure.string/lower-case tr A-Z a-z
clojure.string/upper-case tr a-z A-Z
count wc -l
distinct perl -ne 'print unless $seen{$_}++' Note that Clojure's distinct behavior
@dotSlashLu
dotSlashLu / concur-test.go
Created Jun 20, 2019
concurrent http s/c stress test
View concur-test.go
package main
import (
"fmt"
"log"
httpcli "moservice/lib/net"
"net/http"
"sync"
"time"
)
@HugsLibRecordKeeper
HugsLibRecordKeeper / output_log.txt
Created Jun 20, 2019
Rimworld output log published using HugsLib
View output_log.txt
Log uploaded on Wednesday, June 19, 2019, 10:34:14 PM
Loaded mods:
Core: (no assemblies)
HugsLib[ov:6.1.3]: 0Harmony(1.2.0.1), HugsLib(av:1.0.0.0,fv:6.1.3)
Phinix: $HugsLibChecker(0.5.0.0), LiteNetLib(1.0.0.0), protobuf3(1.0.0.0), Utils(0.5.0.0), Connections(0.5.0.0), Authentication(0.5.0.0), UserManagement(0.5.0.0), Chat(0.5.0.0), Trading(0.5.0.0), PhinixClient(0.5.0.0)
Active Harmony patches:
DebugWindowsOpener.DevToolStarterOnGUI: TRANS: HugsLib.Patches.DevToolStarterOnGUI_Patch.ExtendButtonsWindow
DebugWindowsOpener.DrawButtons: TRANS: HugsLib.Patches.DebugWindowsOpener_Patch.DrawAdditionalButtons
Dialog_Options.DoWindowContents: TRANS: HugsLib.Patches.Dialog_Options_Patch.ReplaceModOptionsButton
View upgrade_raspbian_to_buster.sh
sudo sync
sudo apt-get update
sudo apt-get -y upgrade
sudo apt-get -y dist-upgrade
sudo sed -i 's/jessie/buster/g' /etc/apt/sources.list
sudo apt-get update
sudo apt-get -y upgrade
sudo apt-get -y dist-upgrade
sudo sync
#sudo reboot
@shinjinhun
shinjinhun / FirebaseNotify_.gitignore
Created Jun 20, 2019
파이어베이스 연동 테스트
View FirebaseNotify_.gitignore
*.iml
.gradle
/local.properties
/.idea/workspace.xml
/.idea/libraries
.DS_Store
/build
/captures
.externalNativeBuild
@abzenic
abzenic / Postalcodes.ipynb
Created Jun 20, 2019
Created on Cognitive Class Labs
View Postalcodes.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@narayanjr
narayanjr / Audio.md
Last active Jun 20, 2019
All the audio files avaiable to play.
View Audio.md
ID Song
1 nine thousand
2 sixtysix
4 spherical
5 scream
6 sad trombone
7 priceisrightfail
8 pacmandie
9
View modules4.js
/* base_button.css */
.baseButton {
border: 2px solid #ddd;
color:#FFF;
background-color: gray;
}
/* submit_button.css */
.submitButton {
composes: baseButton from "./base_button.css";
View analitica.csv
We can make this file beautiful and searchable if this error is corrected: It looks like row 7 should actually have 11 columns, instead of 7. in line 6.
Severidad,Etiqueta,Dispositivo,Numero de serie,Puerto,Alarma,Detalles,Hora aumentada,Hora borrada,Confirmada para,Tiempo de confirmación
crítica,Lampara Dos,PSD,5313-1569,-,emergencia minero,ubicación: Medio Camino Nodo principal,2017-05-04 14:15:52 AST,2017-05-04 14:16:26 AST,admin,2017-05-04 14:16:26 AST
crítica,Lampara Uno,PSD,5012-0EE0,-,hombre caído,ubicación: Medio Camino Nodo principal,2017-05-04 14:07:51 AST,2017-05-04 14:10:23 AST,admin,2017-05-04 14:15:46 AST
crítica,3816-3D69,PSD,3816-3D69,-,emergencia minero,ubicación: Medio Camino Nodo principal,2017-05-04 14:03:53 AST,2017-05-04 14:10:11 AST,admin,2017-05-04 14:15:46 AST
crítica,3816-3D69,PSD,3816-3D69,-,emergencia minero,ubicación: Quinto Nodo Frente de Trabajo,2017-05-04 14:03:06 AST,2017-05-04 14:03:29 AST,admin,2017-05-04 14:15:46 AST
menor,Medio Camino Nodo principal,WN,2614-1A1D,1,dispositivo desconocido,dispositivo desconocido en el puerto 1,2017-05-04 14:01:45 AST,-,-,-
crítica,Lampara Uno,PSD,5012-0EE0,-,hombre caído,ubicación: Quinto N
You can’t perform that action at this time.