-
Create a new file:
.ai/status/YYYY-MM-DD.md
-
Structure the update with sections:
- Development Steps
- Key Decisions
- Next Steps
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
<playercorefactory> | |
<players> | |
<player name="VLC" type="ExternalPlayer" audio="false" video="true"> | |
<filename>/Applications/VLC.app/Contents/MacOS/VLC</filename> | |
<args>--video-on-top --play-and-exit</args> | |
<hidexbmc>true</hidexbmc> | |
</player> | |
</players> | |
<rules action="prepend"> | |
<rule video="true" player="VLC"/> |
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
<%= form_for @changeset, @action, fn f -> %> | |
<%= if @changeset.action do %> | |
<div class="alert alert-danger"> | |
<p>Oops, something went wrong! Please check the errors below.</p> | |
</div> | |
<% end %> | |
<div class="form-group"> | |
<%= label f, :type, class: "control-label" %> | |
<%= select f, :type, @workout_types, prompt: "Choose workout type", class: "form-control" %> |
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
exports.config = { | |
files: { | |
javascripts: { | |
joinTo: "js/app.js" | |
}, | |
stylesheets: { | |
joinTo: "css/app.css" | |
}, | |
templates: { |
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
Create a tmux conf file | |
#> touch ~/.tmux.conf | |
Install TMP | |
#> git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm | |
[Copy and paste tmux.conf below into local file.] | |
Load tmux configurations | |
#> tmux source-file ~/.tmux.conf |
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
#Download Elementary OS from here: | |
#http://sourceforge.net/projects/elementaryos/files/stable/ | |
#First you update your system | |
sudo apt-get update && sudo apt-get dist-upgrade | |
#Install Google Chrome | |
wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add - | |
sudo sh -c 'echo "deb http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google-chrome.list' |
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
# UDEV rules to setup automatic backup upon disk insertion | |
# You can get the discriminant informations with the following command : | |
# udevinfo -a -p $(udevinfo -q path -n /dev/sda) | |
KERNEL=="sd?1", ACTION=="add", SUBSYSTEMS=="scsi", ATTRS{vendor}=="Maxtor", ATTRS{model}=="Basics Portable", RUN+="/root/autobackup.sh %k" |
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
{ | |
"require": { | |
"magento-hackathon/magento-composer-installer": "3.0.*", | |
"aydin-hassan/magento-core-composer-installer": "^1.3", | |
"firegento/magento": "1.9.2.2" | |
}, | |
"extra": { | |
"magento-root-dir": "htdocs", | |
"auto-append-gitignore": true, | |
"magento-deploystrategy": "copy", |
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
<?php | |
// Server file | |
class PushNotifications { | |
// (Android)API access key from Google API's Console. | |
private static $API_ACCESS_KEY = 'AIzaSyDG3fYAj1uW7VB-wejaMJyJXiO5JagAsYI'; | |
// (iOS) Private key's passphrase. | |
private static $passphrase = 'joashp'; | |
// (Windows Phone 8) The name of our push channel. | |
private static $channelName = "joashp"; |
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
import superagent from 'superagent'; | |
import merge from 'lodash/merge'; | |
import { camelizeKeys, decamelizeKeys } from 'humps'; | |
import config from 'config'; | |
const CALL_API = Symbol.for('Call API'); | |
/** | |
* Prepare headers for each request and include the token for authentication. | |
* @param {Boolean} token Authentication token |
NewerOlder