This gist is part of a blog post. Check it out at:
http://jasonrudolph.com/blog/2011/08/09/programming-achievements-how-to-level-up-as-a-developer
This gist is part of a blog post. Check it out at:
http://jasonrudolph.com/blog/2011/08/09/programming-achievements-how-to-level-up-as-a-developer
{% macro render_field(field) -%} | |
{% set with_label = kwargs.pop('with_label', False) %} | |
{% set placeholder = '' %} | |
{% if not with_label %} | |
{% set placeholder = field.label.text %} | |
{% endif %} | |
<div class="form-group {% if field.errors %}error{% endif %}"> | |
{% if with_label %} | |
<label for="{{ field.id }}" class="control-label"> | |
{{ field.label.text }}{% if field.flags.required %} *{% endif %}: |
print("UPDATE AUG 2023: this script is beyond old and broken") | |
print("You may find interesting and more up to date resources in the comments of the gist") | |
exit() | |
from slacker import Slacker | |
import json | |
import argparse | |
import os | |
# This script finds all channels, private channels and direct messages |
I will be out of the office until May 30, 2016. While you wait, browse these ten awesome sites from my colleagues across the federal government:
The National Park Service's Unigrid System solves two primary problems of folder planning.
Watch a live view of the McMurdo Station in Antarctica
Listen to a podcast featuring members of the Social and Behavioral Sciences Team.
Watch horrifying near-misses on the U.S. Consumer Product Safety Commission's YouTube channel.
For best results, all forms mentioned below must be printed out, filled out and signed in ink, and mailed directly to OPM at the following address:
U.S. Office of Personnel Management
Attn: Federal Employee Retirement System
Post Office Box 45
Boyers, PA 16017-0045
In order to send directly to OPM, you must wait 30 days after your last day at GSA. However, because part of the process requires you to mail some forms to your financial institution and wait for them to send them back, you can start the process about 15 days after your last day.
function addMenu() { | |
var ui = SpreadsheetApp.getUi(); | |
ui.createMenu('Datanews API') | |
.addItem('Get News','myFunction') | |
.addToUi(); | |
} | |
function myFunction() { | |
var API_KEY = "your api key"; | |
var url = "http://api.datanews.io/v1/headlines?q=travel&apiKey=" + API_KEY; |