View parser.py
from grab import Grab
g = Grab()
g.go('https://www.python.org/')
for i in g.doc.select('//*[@id="content"]/div/section/div[2]/div[2]/div/ul/li'):
print(i.text())
View gist-reveal.it-slides.html
<section data-background-transition='zoom' data-transition='concave' data-background='http://ryanjarvinen.com/presentations/shared/img/broadcast_reveal_dark.png' data-state='blackout'>
<h2>Gist-Powered</h2>
<h1>Reveal.js</h1>
<h2>Slideshow Presentations</h2>
<br/>
<h1 class='fragment grow'><a style='color:deepskyblue;' href='http://gist-reveal.it'>gist-reveal.it</a></h1>
</section>
<section data-background-transition='zoom' data-transition='linear' id='try-it'>
<h2>Try it out!</h2>
<p>Create your own deck by forking a copy of <a href='https://gist.github.com/ryanj/af84d40e58c5c2a908dd'>this github gist</a>: <br /><a href='https://gist.github.com/ryanj/af84d40e58c5c2a908dd'>https://gist.github.com/ryanj/af84d40e58c5c2a908dd</a></p>
View sample.html
<div class="wrapper">
<div class="personal-infomration">
<div class="icon-zone">
<img src="~~~">
</div>
<div class="inform-zone">
<h2>チャリンコボーイ</h2>
<div class="inform-flex">
<p>2018/07/14</p>
<p>東京都渋谷区</p>
View gist:99f1733f41757a2957ae27c01e59feac
### Keybase proof
I hereby claim:
* I am michaelseitz on github.
* I am michaelseitz (https://keybase.io/michaelseitz) on keybase.
* I have a public key ASDcVmLjYR4YqWPuaEs6wZuUPfWjOwHE3_Ws7r9ZemCkBQo
To claim this, I am signing this object:
View my_strtok_r.c
char *my_strtok_r(char *text, const char *delimitor, char **save_this)
{
int nLen = 0;
nLen = strlen(delimitor);
if(save_this == NULL)
{
return NULL;
}
if (text != NULL)
View javascript
var posts = document.querySelectorAll(".link.link--darken[data-action='open-post']");
for (i = 0; i < posts.length; i++) {
console.log(posts[i].getAttribute('href'));
}
https://medium.com/coffee-break-through/os-eventos-n%C3%A3o-s%C3%A3o-o-problema-suas-cren%C3%A7as-s%C3%A3o-1546ff1e1bf2
https://medium.com/coffee-break-through/a-%C3%BAnica-certeza-da-vida-tudo-vai-dar-errado-7cd9121bae3b
https://medium.com/coffee-break-through/como-ser-uma-pessoa-mais-am%C3%A1vel-4-dicas-dos-estoicos-5b6ca001ae16
https://medium.com/coffee-break-through/3-estrat%C3%A9gias-da-filosofia-para-superar-o-fim-de-um-relacionamento-c783daeeabe4
https://medium.com/coffee-break-through/marco-aur%C3%A9lio-sobre-a-motiva%C3%A7%C3%A3o-para-sair-da-cama-todas-as-manh%C3%A3s-1957f01c281f
View gardentrix.R
library(openxlsx)
library(readxl)
library(Hmisc)
library(tidyverse)
#write out the iris dataset
# write.xlsx(iris, "iris.xlsx") just to show you how
# read in a dataset from excel
iris2 <- read_excel("iris.xlsx") # this assumes it's in R's working directory (the one it boots up with)
View ModelCRNN_Resnet.py
# tensorflow-slim very nicely includes some prebuilt models for us to make use of.
from tensorflow.contrib.slim.nets import resnet_v2
class ModelCRNN_Resnet(ConvModel):
""" Recurrent Convolutional Neural Network based on resnet"""
MODEL_NAME = "model_resent"
MODEL_DESCRIPTION = "CNN + LSTM"
DEFAULT_PARAMS = {
View sponge bob
740ZZyzy5ryhF6L8wSLu6pDGSN1OA+cw x5SKQyI1Ymc5zx1NCodlUjObBWJVevSydJz+9bh+73Ga
View sponge bob
T1L4eJ/Tw4EhWLX892mXtxQfiTEB8qwK a+ReYiGfNYTGAFbFB7yTnHv6jluuWO/hHjSV5FZm8c3b