This file contains hidden or 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/bash | |
| # | |
| # This script configures WordPress file permissions based on recommendations | |
| # from http://codex.wordpress.org/Hardening_WordPress#File_permissions | |
| # | |
| # Author: Michael Conigliaro <mike [at] conigliaro [dot] org> | |
| # Edited: Ninad Chaudhari <[email protected]> | |
| # https://gist.github.com/ninadpchaudhari/5c32d596670e5253a15c6deb69642698 | |
| if [[ $# -eq 0 ]] ; then |
This file has been truncated, but you can view the full file.
This file contains hidden or 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
| Date/Time: 2019-03-28 02:44:18 -0400 | |
| End time: 2019-03-28 02:44:19 -0400 | |
| OS Version: Mac OS X 10.14 (Build 18A391) | |
| Architecture: x86_64h | |
| Report Version: 27 | |
| Data Source: Stackshots | |
| Shared Cache: 0xa5b1000 FC89571E-90B2-3484-B55A-D92B7B8D70B8 | |
| Command: OneDrive |
This file contains hidden or 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
| https://superuser.com/questions/477480/how-can-i-recursively-copy-all-pdf-files-in-a-directory-and-its-subdirectories |
This file contains hidden or 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
| https://www.surveymonkey.com/r/VPH5733 |
This file contains hidden or 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
| Squash last X Commits. : https://stackoverflow.com/a/5190323/3262852 | |
| use --force if already pushed to github | |
| 2) Reset all local changes & reset to one from Github : https://stackoverflow.com/a/8888015/3262852 | |
| 3) Create, apply patches https://stackoverflow.com/questions/6658313/generate-a-git-patch-for-a-specific-commit |
This file contains hidden or 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 | |
| import gzip | |
| import os | |
| import sys | |
| import re | |
| from datetime import datetime | |
| import pytz | |
| tz = pytz.timezone('UTC') |
This file contains hidden or 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
| <!doctype html> | |
| <html> | |
| <head> | |
| <meta charset="utf-8"> | |
| <title>Image-only Example - Record Plugin for Video.js</title> | |
| <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css"> | |
| <link href="http://vjs.zencdn.net/5.8.8/video-js.css" rel="stylesheet"> | |
| <link href="https://cdnjs.cloudflare.com/ajax/libs/videojs-record/2.1.0/css/videojs.record.css" rel="stylesheet"> | |
| <script | |
| src="http://code.jquery.com/jquery-3.3.1.min.js" |
This file contains hidden or 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
| ''' | |
| This codes crawls the tweets in SanFrancisco area from Twitter. | |
| Jan 11, 2014 | |
| Feng Chen | |
| ''' | |
| import tweepy # twitter api module - python version | |
| import datetime # python datetime module | |
| import json # python json module |
This file contains hidden or 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
| { | |
| "Version": "2012-10-17", | |
| "Statement": [ | |
| { | |
| "Sid": "MakeItPublic", | |
| "Effect": "Allow", | |
| "Principal": "*", | |
| "Action": "s3:GetObject", | |
| "Resource": "arn:aws:s3:::<Your Bucket Name here>/*" | |
| } |
This file contains hidden or 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
| pom.xml : | |
| <!-- Tomcat Embed --> | |
| <dependency> | |
| <groupId>org.springframework.boot</groupId> | |
| <artifactId>spring-boot-starter-tomcat</artifactId> | |
| <scope>provided</scope> | |
| </dependency> | |
| <!-- JSTL --> | |
| <dependency> |