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
sudo yum update; | |
sudo yum upgrage; | |
# add new user | |
#username = 'name'; | |
#useradd -m $username; | |
#nano /etc/sudoers; | |
#$username ALL=(ALL)ALL > /etc/sudoers #after root ALL=(ALL)ALL | |
#Defaults secure_path = /sbin:/bin:/usr/sbin:/usr/bin:/usr/local/bin #after Defaults | |
# C | |
sudo yum install gcc; |
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
import requests | |
import json | |
class Getter(object): | |
def __init__(self): | |
self.org = '' | |
self.members = [] | |
self.all_info = {} |
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
// override the "openYadoSyosai" function in the console | |
// force opening hotels' pages in a new tag | |
function openYadoSyosai(yadCode, pageListNumYadFw) { | |
var frm = document.forms['yadoDetailFrm']; | |
//var returnUI = 0; | |
frm.action = "/uw/uwp3000/uww3001.do"; | |
// 施設詳細へ遷移 | |
var holdFrm = document.forms['planListHoldFrm']; | |
frm.action += "?yadNo=" + yadCode; |
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
from psd_tools import PSDImage | |
from psd_tools.user_api.layers import TypeLayer, Group, PixelLayer | |
import json | |
import os | |
class PSDLoader(object): | |
def __init__(self): | |
os.chdir('PATH_TO_FILE') | |
self.mask_key = 0 |
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
{ | |
"editor.fontSize": 16, | |
"editor.lineHeight": 19, | |
"explorer.openEditors.visible": 0, | |
"editor.fontWeight": "500", | |
"editor.fontFamily": "Fira Code", | |
"editor.fontLigatures": true, | |
"editor.letterSpacing": 0.5, | |
"editor.wordWrap": "off", | |
"terminal.integrated.fontFamily": "'Meslo LG M Bold for Powerline 14pt'", |
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
Show hidden characters
{ | |
"comment HTML": { | |
"prefix": "#", | |
"body": ["<!-- $1 -->"], | |
"description": "Comment HTML line" | |
} | |
} |
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
<!-- ! --> | |
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<meta http-equiv="X-UA-Compatible" content="ie=edge"> | |
<title>Document</title> |
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
# set new_notebook to "__name__" | |
# set picture_dir to "__dir__" | |
set this_title to "__title__" | |
(* tell application "System Events" | |
set picture_list to POSIX path of disk items of folder picture_dir | |
end tell | |
*) | |
tell application "Evernote" | |
tell application "Evernote" to set my_notebooks to name of every notebook | |
print my_notebooks |
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
joycon-neon-blue: rgb(107,185,222) | |
joycon-neon-red: rgb(221,104,90) |
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
[email protected] | |
├─┬ [email protected] | |
│ ├─┬ [email protected] | |
│ │ └── [email protected] | |
│ └── [email protected] | |
├── [email protected] | |
├── [email protected] | |
├─┬ [email protected] | |
│ ├── [email protected] | |
│ ├─┬ [email protected] |
OlderNewer