This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
NGINX conf and other logs. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Misc |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Linux Scripts | |
Package Manager with pacapt | |
Cron Build by Travis | |
Automatic Daily Cron Build by Travis |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
local lapisR = require "lapis.request" | |
local lapisH = require "lapis.html" | |
-- | |
local ms = require("moonscript") | |
local c = ms.loadfile("kong.plugins.shepherd.views.layout") | |
local index = require("kong.plugins.shepherd.views.index") | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# bluetooth low energy scan | |
from bluetooth.ble import DiscoveryService | |
service = DiscoveryService() | |
devices = service.discover(2) | |
for address, name in devices.items(): | |
print("name: {}, address: {}".format(name, address)) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
char *ble_evt_enum[] = { | |
"BLE_EVT_INVALID", //0x00 | |
"BLE_EVT_TX_COMPLETE", //0x01 | |
"BLE_EVT_USER_MEM_REQUEST", //0x02 | |
"BLE_EVT_USER_MEM_RELEASE", //0x03 | |
"", | |
"", | |
"", | |
"", | |
"", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
DEFAULT_OPT='--noconfirm --m-arg --skipchecksums --m-arg --skippgpcheck' | |
sudo pacman -Syu | |
sudo pacman -S sudo vi zsh wget fuse git vim xorg xorg-xinit kf5 kf5-aids plasma kdebase spectacle gwenview ttf-freefont sddm sddm-kcm gtk-engines gtk2 gtk3 gnome-themes-standard gnome-icon-theme ntp networkmanager net-tools alsa-utils pulseaudio pulseaudio-alsa libcanberra-pulse libcanberra-gstreamer jack2-dbus --noconfirm | |
sudo systemctl enable sddm | |
sudo systemctl enable ntpd | |
sudo systemctl enable NetworkManager dhcpcd | |
##### SDDM Theme Setting /etc/sddm.conf | |
# [Theme] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Fb_config(): | |
def __init__(self, target): | |
self.target = target | |
# TODO : 항상 타겟이 이렇게 세팅되지 않음. profile.php?id=<int> 이렇게 붙기도 함 | |
# 이럴때는 sk=likes 이렇게 붙음. | |
# maps에서 이미 다 출력했는데 아무 메시지가 나오지 않을 때도 있음. | |
self.base_url = "https://www.facebook.com/" + target | |
# TODO: 너무 self 많이 썼는데 사용하지 않고 할 수 있는 방법 찾기 | |
self.TIMELINE_CLASS = "_1w_m" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
type Wiki struct { | |
Id int | |
Title string `sql:"type varchar(300)"` | |
Description string `sql:"type varchar(300)"` | |
} |
NewerOlder