![]() |
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 tensorflow as tf | |
import numpy as np | |
FC_SIZE = 1024 | |
DTYPE = tf.float32 | |
def _weight_variable(name, shape): | |
return tf.get_variable(name, shape, DTYPE, tf.truncated_normal_initializer(stddev=0.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
# For an alternative method, check out: | |
# https://gist.github.com/pudquick/3ff4278c609ce223ebb4fc300c5edd0f | |
# Note: this method no longer works for Safari 15+ | |
from Foundation import NSBundle, NSClassFromString | |
SafariShared = NSBundle.bundleWithPath_('/System/Library/PrivateFrameworks/SafariShared.framework') | |
loaded = SafariShared.load() | |
WBSPasswordGeneration = NSClassFromString('WBSPasswordGeneration') | |
CKRecord = NSClassFromString('CKRecord') |
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
function deleteSavedItems() { | |
var query = document.querySelectorAll("#sc-saved-cart input[value=Delete]") | |
if (query.length) { | |
query[0].click(); | |
} | |
if (query.length > 1) { | |
setTimeout(deleteSavedItems,100); | |
} | |
else { | |
console.log('Finished'); |
- Uses WiFi signals 📶 and machine learning to predict where you are / Python
- Bitmap & tilemap generation from a single example with the help of ideas from quantum mechanics / C#
- Feedforward style transfer / Apply filter like Instagram or prisma from a model to a picture or webcam
- Machine Learning for RC Cars
- An absolute beginner's guide to Machine Learning and Image Classification with Neural Networks
- Hide screen when boss is approaching. http://ahogrammer.com/2016/11/15/deep…
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
""" Trains an agent with (stochastic) Policy Gradients on Pong. Uses OpenAI Gym. """ | |
import numpy as np | |
import cPickle as pickle | |
import gym | |
# hyperparameters | |
H = 200 # number of hidden layer neurons | |
batch_size = 10 # every how many episodes to do a param update? | |
learning_rate = 1e-4 | |
gamma = 0.99 # discount factor for reward |
Step-by-Step Guide how to install CI/CD with Docker Registry On Ubuntu 14.04 LTS from scratch.
- Install Docker using Official Manual or just run:
sudo bash
apt-get update
apt-key adv --keyserver hkp://p80.pool.sks-keyservers.net:80 --recv-keys 58118E89F3A912897C070ADBF76221572C52609D
No, seriously, don't. You're probably reading this because you've asked what VPN service to use, and this is the answer.
Note: The content in this post does not apply to using VPN for their intended purpose; that is, as a virtual private (internal) network. It only applies to using it as a glorified proxy, which is what every third-party "VPN provider" does.
- A Russian translation of this article can be found here, contributed by Timur Demin.
- A Turkish translation can be found here, contributed by agyild.
- There's also this article about VPN services, which is honestly better written (and has more cat pictures!) than my article.
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
/* Developed by Daniel Park (github.com/sudocode). | |
* | |
* Free for personal or commercial use, with or without modification. | |
* No warranty is expressed or implied. | |
*/ | |
var App = Application.currentApplication(), | |
Evernote = Application('Evernote'), | |
Notes = Application('Notes') | |