This file contains 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 here: https://developer.mozilla.org/en-US/docs/Learn/JavaScript/Objects/JSON | |
var request = new XMLHttpRequest(); | |
request.open('GET', 'http://localhost:8888/test.json') | |
request.responseType = 'json'; | |
// request.onload = function() { | |
// var data = request.response; | |
// } | |
request.send() | |
var data = request.response | |
// now you can do like |
This file contains 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
pip install http://effbot.org/media/downloads/Imaging-1.1.7.tar.gz |
This file contains 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 closeio_api import Client | |
api = Client('your_api_key') | |
res = api.get('custom_fields/lead') | |
for field in res['data']: | |
print(field['name'] + ': '+ field['id']) |
This file contains 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
auth | |
contenttypes | |
sessions | |
messages | |
staticfiles | |
webapp | |
custom_user | |
xlsxwriter | |
business_calendar | |
emails |
This file contains 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
# You can do `sudo lsof -i tcp:3306` and kill -9 {PID} all day | |
# but mysql will just restart itself. So launchd is involved right? | |
# Well it is, but `launchctl list | grep mysql` doesn't show anything! | |
# Kill it like this: | |
sudo launchctl unload -w /Library/LaunchDaemons/com.oracle.oss.mysql.mysqld.plist |
This file contains 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
grep -rl -E '“|”' --include="*.java" . | cut -c 3- | xargs sed -i .bak 's/[“”]/"/g' | |
grep -rl -E '—|–' --include="*.java" . | cut -c 3- | xargs sed -i .bak 's/[—–]/-/g' | |
grep -rl -E '’|‘' --include="*.java" . | cut -c 3- | xargs sed -i .bak "s/[’‘]/\'/g" | |
grep -rl -E '©' --include="*.java" . | cut -c 3- | xargs sed -i .bak 's/©/\\\u00a9/g' | |
grep -rl -E '§' --include="*.java" . | cut -c 3- | xargs sed -i .bak 's/§/\\\u00a7/g' |
This file contains 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
<?xml version="1.0" encoding="UTF-8"?> | |
<ui version="4.0"> | |
<class>MainWindowGUI</class> | |
<widget class="QMainWindow" name="MainWindowGUI"> | |
<property name="geometry"> | |
<rect> | |
<x>0</x> | |
<y>0</y> | |
<width>800</width> | |
<height>600</height> |
This file contains 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
<?xml version="1.0" encoding="UTF-8"?> | |
<ui version="4.0"> | |
<class>MainWindowGUI</class> | |
<widget class="QMainWindow" name="MainWindowGUI"> | |
<property name="geometry"> | |
<rect> | |
<x>0</x> | |
<y>0</y> | |
<width>800</width> | |
<height>600</height> |
This file contains 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
# Maintainer: Tomáš Mládek <tmladek [on] inventati [bop] org> | |
# Contributor: Chris <christopher.r.mullins g-mail> | |
pkgname=3dslicer | |
pkgver=4.5.0 | |
pkgrel=2 | |
pkgdesc="A free, open source software package for image analysis and scientific visualization." | |
url="http://slicer.org" | |
arch=('x86_64') | |
license=('BSD') |
This file contains 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
# Maintainer: Andrzej Giniewicz <gginiu@gmail.com> | |
# Contributor: Chris <christopher.r.mullins g-mail> | |
# Contributor: Thomas Dziedzic < gostrc at gmail > | |
# Contributor: joel schaerer <joel.schaerer@laposte.net> | |
pkgname=insight-toolkit | |
pkgver=4.8.2 | |
pkgrel=2 | |
pkgdesc='Cross-platform system that provides developers with an extensive suite of software tools for image analysis' | |
arch=('i686' 'x86_64') |
NewerOlder