Skip to content

Instantly share code, notes, and snippets.

💭
I'm having some sort of Pavlovian reaction to React hooks

Tono 2hands10fingers

💭
I'm having some sort of Pavlovian reaction to React hooks
Block or report user

Report or block 2hands10fingers

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View items_parser.py
import csv
kitchen =[]
pastry = []
bakery = []
elseer = []
time = "morn"
def time_loc(loc):
View bighatiframe.html
<div id="686570787875442569" class="wcustomhtml" style="width: 100%; overflow-y: hidden;" align="left">
<script src= "https://book.mylimobiz.com/v4/Scripts/iframeResizer/iframeResizer.min.js" type="text/javascript">
</script>
<iframe id="ores4iframe" style="overflow: hidden; height: 1291px;" tabindex="0" src="https://book.mylimobiz.com/v4/newtonsbighat?refererUrl=http://www.newtonsbighatlimousines.com/" width="100%" height="150" frameborder="0" scrolling="no"></iframe> <script type= "text/javascript" src= "https://book.mylimobiz.com/v4/widgets/widget-loader.js">
</script></div>
</div>
@2hands10fingers
2hands10fingers / building out table rows.js
Created Aug 22, 2017
Building out options with a loop in a selection drop down
View building out table rows.js
$(function(){
var requestUrl = '/physmodo/API/GYM-OWNERS.php';
$.post(requestUrl, function (data) {
for(var i = 0; i < data.length; i++){
// DATA SELECTIONS
var dataTable = $('.dataTable--body');
var gymOwnerID = data.["#"];
var gymOnwerName = data.["#"];
View wo-config.php
<?php
/**
* The base configuration for WordPress
*
* The wp-config.php creation script uses this file during the
* installation. You don't have to use the web site, you can
* copy this file to "wp-config.php" and fill in the values.
*
* This file contains the following configurations:
*
View convert
import math
class MyProcessingClass:
def __init__(self, str_list):
self._str_list = str_list
self._float_list = []
View gist:aed6624be89f315ab6d5
from tweepy import Stream
from tweepy import OAuthHandler
from tweepy.streaming import StreamListener
import time
ckey = 'Xwk45yibY06n7wHFHuoI2KVhi'
csecret = 'uWbOJZdRTmLDFKIxJKoR3huDwprOqefpwctEMIfE3gXfwruN5H'
atoken = '3096677539-t2d26ZLh1YbciYRub7TtGfEvrhF5MxhRTsNjuIb'
asecret = 'N4sSNMBw0TLG8yEwcGRAL15bSSeK1oO8SBZG63B8WiE9s'
You can’t perform that action at this time.