- Xcode
- Homebrew
- Ansible
$HOME : $GOPATH
│
├── .aws : awscli
import sys | |
import pandas as pd | |
def main(name): | |
df = pd.read_csv('./sample.csv', header=0) | |
filtered = df[df['token'] == name] | |
if len(filtered.index) > 0: | |
value = filtered.loc[filtered.index[0]]['normalized'] | |
print(value) | |
else: |
import org.apache.tools.ant.types.Commandline | |
import org.gradle.api.tasks.options.Option | |
import java.util.Arrays | |
apply plugin: LazybonesPlugin | |
class LazybonesPlugin implements Plugin<Gradle> { | |
void apply(Gradle gradle) { | |
gradle.allprojects { project -> | |
project.repositories { |
from invoke import task, context | |
from decorator import decorator | |
def ctask(f, *args, **kwds): | |
print('wraps') | |
if len(args) >= 1 and isinstance(args[0], context.Context): | |
print('context!') | |
print(args[0]) | |
return |
javascript:(function(){var title=window.prompt('Scrap "Scrapbox" to ohtomi.',document.title); | |
if (!title) return; | |
if (window.location.href.startsWith('https://github.com') && title.indexOf(':')!==-1) title=title.substr(0,title.indexOf(':')); | |
var lines=[]; | |
if (window.location.href.startsWith('https://github.com')) lines.push('[https://assets-cdn.github.com/images/modules/open_graph/github-mark.png]'); | |
else if (window.location.href.startsWith('http://stackoverflow.com')) lines.push('[https://cdn.sstatic.net/Sites/stackoverflow/company/img/logos/so/so-logo.png]'); | |
else if (window.location.href.startsWith('http://qiita.com')) lines.push('[https://cdn.qiita.com/assets/qiita-fb-2887e7b4aad86fd8c25cea84846f2236.png]'); | |
else if (window.location.href.startsWith('http://www.slideshare.net/')) lines.push('[http://public.slidesharecdn.com/b/images/logo/linkedin-ss/SS_Logo_Black_Large.png]'); | |
else if (window.location.href.startsWith('https://speakerdeck.com')) lines.push('[http://www.cytoscape.org/images/icon/SpeakerDeck1 |
.col-page { | |
width: calc(100% - 132px); | |
max-width: 1260px; | |
} | |
@media (min-width: 1092px) | |
.col-page-side { | |
width: calc((100% - 1260px) / 2); | |
} |
#!/bin/bash | |
mkdir ./cgi-bin/ | |
cp upload.cgi ./cgi-bin/ | |
chmod +x ./cgi-bin/upload.cgi | |
mkdir ./upload/ | |
python -m CGIHTTPServer 8080 |