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
| require 'formula' | |
| # Note: this project doesn't save old releases, so it breaks often as | |
| # downloads disappear. | |
| class Pyqt < Formula | |
| homepage 'http://www.riverbankcomputing.co.uk/software/pyqt' | |
| url 'http://www.riverbankcomputing.co.uk/static/Downloads/PyQt4/PyQt-mac-gpl-4.9.3.tar.gz' | |
| #sha1 '92d55cb6f57fdb9d61497c21770bb2458b102e8d' | |
| sha1 '6b315c4fdeecb6695a364ab0359a8090cff01661' |
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
| select | |
| col.table_name || '.' || col.column_name as foreign_key, | |
| rel.table_name || '.' || rel.column_name as references | |
| from | |
| user_tab_columns col | |
| join user_cons_columns con | |
| on col.table_name = con.table_name | |
| and col.column_name = con.column_name | |
| join user_constraints cc | |
| on con.constraint_name = cc.constraint_name |
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
| """ | |
| Taken from: https://gist.github.com/1094140 | |
| """ | |
| from functools import wraps | |
| from flask import request, current_app | |
| def jsonp(func): | |
| """Wraps JSONified output for JSONP requests.""" |
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
| <html> | |
| <head></head> | |
| <body> | |
| <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" | |
| width="128px" height="128px" viewBox="0 0 16 16"> | |
| <!--g> | |
| <animateTransform attributeName="transform" type="rotate" values="0 8 8; 45 8 8; 90 8 8; 135 8 8; 180 8 8; 225 8 8; 270 8 8; 315 8 8" | |
| dur="8s" calcMode="discrete" repeatCount="indefinite" /> |
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"> | |
| <title>Raphaël · Growing Pie</title> | |
| <link rel="stylesheet" href="demo.css" media="screen"> | |
| <link rel="stylesheet" href="demo-print.css" media="print"> | |
| <style media="screen"> | |
| body { | |
| background: #333; |
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"> | |
| <title>Raphaël · Growing Pie</title> | |
| <link rel="stylesheet" href="demo.css" media="screen"> | |
| <link rel="stylesheet" href="demo-print.css" media="print"> | |
| <style media="screen"> | |
| body { | |
| background: #333; |
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 __future__ import division | |
| from pylab import * | |
| # Sampling rate | |
| fs = 128 # Hz | |
| # Time is from 0 to 1 seconds, but leave off the endpoint, so that 1.0 seconds is the first sample of the *next* chunk | |
| length = 1 # second | |
| N = fs * length | |
| t = linspace(0, length, num = N, endpoint = False) |
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
| clip_name | label | |
|---|---|---|
| train1.aiff | 0 | |
| train2.aiff | 0 | |
| train3.aiff | 0 | |
| train4.aiff | 0 | |
| train5.aiff | 0 | |
| train6.aiff | 1 | |
| train7.aiff | 1 | |
| train8.aiff | 0 | |
| train9.aiff | 1 |
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 bash | |
| echo 'Begin ping' | |
| if ping -oc 10 192.168.11.1 > /dev/null; then | |
| echo 'the Internet is back up' | |
| echo '>> tftp 192.168.11.1 put dd-wrt.v24_std_generic.bin' | |
| echo -n "put dd-wrt.v24_std_generic.bin" | tftp -e 192.168.11.1 | |
| echo 'done' | |
| else | |
| echo 'timeout. Abort' |