This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import requests # or urllib | |
import csv | |
# get Youtube Data API Key | |
API_KEY = "" # insert your API key | |
# youtube channel ID | |
channel_id = "" # insert Youtube channel ID | |
page_token = "" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Place this file in the root of the directories you'd like to change. | |
#It will look for all directories with underscores and replace them with a space. | |
Dir["*"].each do|f| | |
if File.directory?(f) | |
File.rename f, f.gsub(/_/, ' ') | |
end | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# 'Enable access for assistive devices' must be selected in Universal Access preferences. | |
osascript -e " | |
try | |
tell application \"Final Cut Pro\" to activate | |
delay 0.5 | |
tell application \"System Events\" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Use this setup block to configure all options available in SimpleForm. | |
SimpleForm.setup do |config| | |
config.error_notification_class = 'alert alert-danger' | |
config.button_class = 'waves-effect waves-light btn' | |
config.boolean_label_class = nil | |
config.wrappers :vertical_form, tag: 'div', class: 'input-field', error_class: 'has-error' do |b| | |
b.use :html5 | |
b.use :placeholder | |
b.optional :maxlength |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
""" | |
FUNCTION: Converts a CSV (tab delimited) file to an Excel xlsx file. | |
Copyright (c) 2016, Konrad Foerstner <[email protected]> | |
Permission to use, copy, modify, and/or distribute this software for | |
any purpose with or without fee is hereby granted, provided that the | |
above copyright notice and this permission notice appear in all | |
copies. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# 'Enable access for assistive devices' must be selected in Universal Access preferences. | |
osascript -e " | |
try | |
tell application \"Final Cut Pro\" to activate | |
delay 0.5 | |
tell application \"System Events\" |