View ds106twitter.php
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
<?php | |
// Configure Twitter | |
require_once "vendor/autoload.php"; | |
use Abraham\TwitterOAuth\TwitterOAuth; | |
define('CONSUMER_KEY', 'INSERTCONSUMERKEY'); | |
define('CONSUMER_SECRET', 'INSERTCONSUMERSECRET'); | |
define('ACCESS_TOKEN', 'INSERTACCESSTOKEN'); | |
define('ACCESS_TOKEN_SECRET', 'INSERTACCESSTOKENSECRET'); |
View manifest.jps
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
type: install | |
id: docsify-github | |
name: Docsify Git Deploy | |
description: | |
text: Docsify is a magical documentation generator that converts markdown files in realtime. This installer is a proof of concept at deploying an environment automatically from URL (currently hard coded but could be a setting to take any repo URL). | |
categories: | |
- apps/content-management | |
- apps/education |
View manifest.jps
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
type: install | |
id: fedwiki | |
name: Smallest Federated Wiki | |
homepage: http://fed.wiki.org/view/federated-wiki | |
logo: http://fed.wiki.org/favicon.png | |
description: | |
text: A Federated Wiki is a new type of distributed wiki. It's hosted, edited, administrated and operated in a part-decentralized way by it's users. | |
categories: |
View install.php
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
<?php | |
$email = '#user_email'; | |
$password = '#user_pass'; | |
$name = 'Site Admin'; | |
$sitetitle = '#site_title'; | |
$timezone = 'America/New_York'; | |
$locale = 'Default'; | |
$siteurl = '#env_url'; | |
use Omeka\Installation\Installer; |
View github-push.sh
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
cd /home/username/public_html/data/pages/ | |
git pull | |
git add -A | |
git commit -m "Dokuwiki external edit" | |
git push origin master |
View .htaccess
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
# More Details [DE]: http://cup.wpcoder.de/wordpress-xmlrpc-schutz/ | |
<IfModule mod_setenvif.c> | |
<Files xmlrpc.php> | |
BrowserMatch "Poster" allowed | |
BrowserMatch "WordPress" allowed | |
BrowserMatch "Windows Live Writer" allowed | |
BrowserMatch "wp-iphone" allowed | |
BrowserMatch "wp-android" allowed | |
BrowserMatch "wp-windowsphone" allowed |
View 0_reuse_code.js
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 Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
View gist:ebadda5255e8a3711148
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
<div id="search-container"> | |
<form id="search-form" name="search-form" action="/omeka/items/browse" method="get"> | |
<input type="text" name="search" id="query" value="" title="Search"> | |
<button name="submit_search" id="submit_search" type="submit" value="Search">Search</button> | |
</form> | |
</div> |