So, here's a list of stuff that might be useful but I never implemented.
The basic idea is to have a graph view instead of a linear one.
Ideas:
# Cython/pyximport don't work 100% with the `inspect` module. | |
# For this reason, `IPython.embed()` is not able to get the locals from the current frame. | |
# This is how to work around that | |
import IPython | |
def embed(locs): | |
# Pass the locals explicitly | |
IPython.embed(user_ns=locs) |
REM Put this file in a directory and double click on it | |
REM Some details: | |
REM - ffmpeg must be in the system PATH | |
REM - you can change the bitrate easily by changing the "q" parameter (https://trac.ffmpeg.org/wiki/Encode/MP3) | |
for /f "tokens=1 delims=." %%a in ('dir /B *.wav') do ffmpeg -i "%%a.wav" -q:a 3 "%%a.mp3" |
I hereby claim:
To claim this, I am signing this object:
/** | |
* Replace CSV download links with urls to re-evaluate the past submission. | |
* Basically, you can get the private leaderboard score without re-uploading the file. | |
* | |
* USAGE: | |
* 1) Copy this script and change COMPETITION_URL accordingly | |
* 2) Go to "My Submissions" page | |
* 3) Open the Developer Console | |
* 4) Paste the script and execute it | |
* 5) Click on the links to open new tabs :) |
#!/usr/bin/env python | |
import keras | |
import keras.callbacks | |
import keras.models | |
import keras.optimizers | |
import keras.layers | |
import numpy as np | |
import theano |
# Copyright: Benjamin Weiss (keyboardsurfer) https://github.com/keyboardsurfer | |
# Under CC-BY-SA V3.0 (https://creativecommons.org/licenses/by-sa/3.0/legalcode) | |
# linux text editor backups | |
*~ | |
# built application files | |
*.apk | |
*.ap_ | |
*.jar |
#!/bin/sh | |
sudo umount ~/nexus4/ | |
sudo go-mtpfs -allow-other=true ~/nexus4 |
# sudo apt-get install scim | |
# sudo apt-get install scim-anthy | |
# sudo apt-get install scim-gtk-immodule | |
# sudo apt-get install scim-qt-immodule | |
# | |
# CHROME: | |
# GTK_IM_MODULE=xim XMODIFIERS="@im=SCIM" chromium-browser %U | |
export XMODIFIERS="@im=SCIM" | |
#export GTK_IM_MODULE="scim" |
#!/usr/bin/python | |
""" | |
Find IMDB id of a given movie searching by title. | |
Works with all languages, not just English like | |
all the IMDB-python libs I've found on the internet. | |
""" | |
__author__ = '3mpty' |