import sys
if sys.version[0] == 2:
from urllib import urlencode
else:
from urllib.parse import urlencode
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
;; -*- mode: emacs-lisp -*- | |
;; This file is loaded by Spacemacs at startup. | |
;; It must be stored in your home directory. | |
(defun dotspacemacs/layers () | |
"Configuration Layers declaration. | |
You should not put any user code in this function besides modifying the variable | |
values." | |
(setq-default | |
;; Base distribution to use. This is a layer contained in the directory |
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
#!/usr/bin/env python | |
"""DBLP Bib Fetcher | |
A utility script for fetching bibtex from DBLP. | |
Dependencies: | |
pyquery | |
""" | |
import urllib2 |
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
#!/bin/bash | |
FILTER=false | |
while true; do | |
case "$1" in | |
--filter) | |
FILTER=true | |
FILTER_HEAD=$2 | |
shift 2 |
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
#!/bin/bash | |
curl -sSL -H 'Accept: application/json' -H 'Accept-Encoding: gzip' \ | |
http://dashb-cms-job.cern.ch/dashboard/request.py/fileaccessinfo2?$(./getparams $1) \ | |
| gzip -d |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
#!/bin/bash | |
WORKDIR=$1 | |
UNICORN_URL=https://github.com/openalto/alto-experimental | |
UNICORN_DIR=$WORKDIR/alto-experimental | |
UNICORN_FEATURE=$UNICORN_DIR/features/target/alto-experimental-features-0.1.0-SNAPSHOT.kar | |
yum install -y wget git zip unzip | |
curl -s "https://get.sdkman.io" | bash | |
source "$HOME/.sdkman/bin/sdkman-init.sh" |
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
#!/usr/bin/env python | |
""" | |
run this file: | |
sudo -E python mininetsim.py {*.graphml} | |
""" | |
import networkx | |
import random | |
import sys | |
from mininet.net import Mininet | |
from mininet.topo import Topo |
- Go to https://countwordsfree.com/ and click the green button "Load Text" to upload your pdf file.
- Copy the text from the textarea box.
- Go to https://www.online-utility.org/text/analyzer.jsp and paste the text content to the input box.
- Click "Process text" button.
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
#/bin/bash | |
# Clear all the installed files by Wacom Driver | |
rm -rf /Applications/Wacom\ Tablet.localized | |
rm -rf /Applications/Pen\ Tablet.localized | |
rm -rf /Library/Application\ Support/Tablet | |
rm -rf /Library/Extensions/Wacom\ Tablet.kext |
OlderNewer