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 keras.models import Model | |
from keras.layers import Input, Add | |
from keras.utils import multi_gpu_model | |
m_in = Input( shape=(1,) ) | |
m_out1 = Add()([m_in,m_in]) | |
m_out2 = m_in | |
m = Model( m_in, [m_out1,m_out2] ) | |
x = Input( shape=(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 python | |
from beatbox import PythonClient | |
client = PythonClient() | |
client.serverUrl = "https://test.salesforce.com/services/Soap/u/32.0" | |
client.login('[email protected]','totallymypassword123') | |
result = client.query("""Select | |
Id,CaseNumber,CreatedDate |
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
import glob | |
import random | |
import datetime | |
from moviepy.editor import * | |
fl = [fn for fn in glob.glob('/path/to/the/vids/*/*')] | |
while 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 python | |
import beatbox | |
pc = beatbox.PythonClient() | |
pc.login('[email protected]','password') | |
for result in pc.query('select name from account limit 10'): | |
print result['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
javascript:(function(){var el=document.getElementsByClassName('image-link');for(i in el){ if(el[i].attributes!=undefined){var ni = document.createElement("img");ni.setAttribute('width','540px');ni.setAttribute('src',el[i].attributes['href'].value);el[i].parentNode.replaceChild(ni, el[i]);} }})() |