<author>/<type>/<ticket>/<title>
revett/feature/24101/skeleton-service-for-email-sender
| #!/bin/sh | |
| # dependencies | |
| echo "Installing dependencies via Homebrew (http://brew.sh)" | |
| ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)" | |
| brew update | |
| brew install gcc48 |
| import android.content.Context; | |
| import android.content.res.TypedArray; | |
| import android.graphics.Canvas; | |
| import android.graphics.Rect; | |
| import android.graphics.drawable.Drawable; | |
| import android.support.v7.widget.LinearLayoutManager; | |
| import android.support.v7.widget.RecyclerView; | |
| import android.util.AttributeSet; | |
| import android.view.View; |
| // Subscriptions automatic helpers | |
| autoSub = { readys: {}, managers: {} }; | |
| autoSubscribe = function(T, subKey, paramKey) { | |
| T.onCreated(function() { | |
| var self = this; | |
| if (!_.has(autoSub.managers, subKey)) { | |
| autoSub.managers[subKey] = new SubsManager(); | |
| } | |
| if (!_.has(autoSub.readys, subKey)) { | |
| autoSub.readys[subKey] = new ReactiveVar(); |
| kubectl get pods | grep Evicted | awk '{print $1}' | xargs kubectl delete pod |
| import { Link } from 'react-router-dom' | |
| import { Badge, Col, Menu } from 'antd' | |
| const StyledBadge = styled(Badge)` | |
| .ant-badge-count { | |
| background-color: #7ECBBF; | |
| color: white; | |
| box-shadow: 0 0 0 1px #d9d9d9 inset; | |
| } | |
| ` |
| import asyncio | |
| import json | |
| import os | |
| import struct | |
| import sys | |
| import time | |
| from plexapi.myplex import MyPlexAccount | |
| ### EDIT SETTINGS ### |
| // Change to the resolution you desire. "480p", "720p", "1080p". | |
| var res = "1080p"; | |
| var x = document.getElementsByClassName("hs-shows")[0]; | |
| var li = x.childNodes; | |
| var myRegexp = /<a title="Magnet Link" href="(.*)">Magnet/g; | |
| var x = document.getElementsByClassName("hs-shows")[0]; | |
| var li = x.childNodes; | |
| var links = ""; | |
| var btn = document.getElementsByClassName("more-button")[0]; |
| import passport from 'passport'; | |
| module.exports = app => { | |
| app.get('/findUser', (req, res, next) => { | |
| passport.authenticate('jwt', { session: false }, (err, user, info) => { | |
| if (err) { | |
| console.log(err); | |
| } | |
| if (info != undefined) { | |
| console.log(info.message); |
| // HOW TO RUN IT ON GOOGLE CHROME | |
| // 1. OPEN INSTAGRAM | |
| // 2. OPEN LIST OF FOLLOWERS | |
| // 3. OPEN DEVELOPER TOOLS | |
| // 4. COPY EVERYTHING HERE CTRL + A | |
| // 5. PASTE EVERYTHING IN DEVELOPER TOOLS CONSOLE | |
| // 6. CLICK ENTER | |
| // THERE YOU WILL SOON HAVE NO FRIENDS | |
| const FOLLOWING_BUTTON_TEXT = 'フォロー中' // CHANGE THIS TO YOUR LANGUAGE |