Skip to content

Instantly share code, notes, and snippets.

@anvius
anvius / Adwords_Competition
Last active December 1, 2015 16:36
Keyword competition adwords
<?php
$user = new AdWordsUser();
$user->LogDefaults();
$targetingIdeaService = $user->GetService('TargetingIdeaService', 'v201402');
$keyword = 'mars cruise';
$selector = new TargetingIdeaSelector();
$selector->requestType = 'STATS';
$selector->ideaType = 'KEYWORD';
$selector->requestedAttributeTypes = array('COMPETITION');
@nikosgpet
nikosgpet / workflowy.user.js
Last active October 5, 2017 18:39
Workflowy styles
// ==UserScript==
// @name Workflowy styles
// @namespace http://tampermonkey.net/
// @version 0.4
// @description shows how to use babel compiler
// @author You
// @require https://cdnjs.cloudflare.com/ajax/libs/babel-standalone/6.18.2/babel.js
// @require https://cdnjs.cloudflare.com/ajax/libs/babel-polyfill/6.16.0/polyfill.js
// @require https://raw.githubusercontent.com/nikosgpet/tampermonkey/master/workflowy.js
// @match https://workflowy.com/*
@takasek
takasek / DeskFlowy_Markdown化.js
Last active October 14, 2017 05:32
WorkFlowyのトピックをMarkdown化するDeskFlowy( http://nap.jp/michi/DeskFlowy/ja/ )用スクリプト。1段目は ##、2段目は###、3段目は本文、4段目以降はリストとして扱います。
(function() {
var lastIndents = null;
var lastNode = null;
var lastParsedLine = null;
function stringify(node, indents) {
const text = node.children(".name").children(".content").text();
var lines = [];
// ==UserScript==
// @name WorkflowyStylableTags
// @description Gives each tag it's own css style, so you can style them with Stylish. I use Blank Canvas to manage my userscripts in Chrome.
// @author Nigel Thorne
// @include http*://*workflowy.com/*
// @version 1.0
// ==/UserScript==
String.prototype.endsWith = function(suffix) {
return this.indexOf(suffix, this.length - suffix.length) !== -1;
// ==UserScript==
// @name WorkflowyStylableTags
// @description Gives each tag it's own css style, so you can style them with Stylish. I use Blank Canvas to manage my userscripts in Chrome.
// @author Nigel Thorne
// @include http*://*workflowy.com/*
// @version 1.0
// ==/UserScript==
String.prototype.endsWith = function(suffix) {
return this.indexOf(suffix, this.length - suffix.length) !== -1;
@vhsu
vhsu / Adwords Script - Get Today's Cost
Last active April 9, 2018 21:15
Adwords Script - Get Current Adwords Cost for today
// Author : Vincent Hsu twitter.com/suisseo
// This function returns the total cost for today
function getTodayTotalCost(){
var totalcost = AdWordsApp.currentAccount().getStatsFor("TODAY").getCost();
}
return totalcost;
}
@zhukeepa
zhukeepa / Airtable -> Workflowy
Created November 19, 2016 11:07
Airtable -> Workflowy task
Given [this Airtable](https://airtable.com?inviteId=invsaZhDj2hUhQ30l&inviteToken=c1877518ea0af8556f46a31788a9da2d) (preview images: https://puu.sh/snkhh/a786cd9b1a.png, https://puu.sh/snkhI/02ae757c97.png)
write me a script that generates this OPML code:
<?xml version="1.0"?>
<opml version="2.0">
<head>
<ownerEmail>zhukeepa@gmail.com</ownerEmail>
</head>
<body>
@oscarduignan
oscarduignan / README.md
Created August 22, 2012 20:14
Workflowy Additions

These are my workflowy customisations, the intention is that when you are on workflowy.com you load the CSS with an addon like stylebot for chrome and the javascript for something like tampermonkey. I'll expand with some specific installation instructions later and maybe migrate this away from GISTS.

// ==UserScript==
// @name Restore title to workflowy tags
// @namespace Violentmonkey Scripts
// @match https://workflowy.com/*/*
// @grant none
// ==/UserScript==
let timer = void 0
const update_tags = () => {
@carolineartz
carolineartz / 1layout_notes.md
Last active August 15, 2018 21:16
example for Doraly

Hey Doraly, I know we didn't have a chance to meet during office hours, so I wanted to see if I could be of some help anyway. I got your code from github and have some ideas:

  • add normalize.css-link to read more about what that does (included the css file here)
  • add a simple, responsive grid system. See this tutorial for explanation. I modified the @media breakpoint and included the css file here. this is what the grid system can accomplish: