Skip to content

Instantly share code, notes, and snippets.

View fureigh's full-sized avatar

Fureigh fureigh

View GitHub Profile
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;
@monfresh
monfresh / fers_contribution_refund_guide.md
Last active March 26, 2024 18:23
Guide to getting your FERS contribution refund for former 18F employees

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.

@hollyallen
hollyallen / Offboarding_from_18F.md
Last active September 14, 2020 15:16
Holly's list of 18F offboarding tasks
  • Official handbook page
  • Save the usernames and passwords for systems you may need when you are no longer an employee, such as
  • Log into Employee Express
    • Write down your login information for employee express. You can't get this back after you leave GSA.
  • Switch your W2s to Mail instead of Electronic
@Chandler
Chandler / slack_history.py
Last active March 26, 2024 14:35
Download Slack Channel/PrivateChannel/DirectMessage History
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
@alienhaxor
alienhaxor / _formhelpers.py
Last active September 5, 2022 17:42 — forked from maximebf/gist:3986659
Jinja2 macro to render WTForms fields with Twitter Bootstrap. This fork renders the fields according to bootstrap 3.0.0
{% 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 %}:
@jasonrudolph
jasonrudolph / about.md
Last active January 6, 2024 07:40
Programming Achievements: How to Level Up as a Developer