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
/* eslint-disable jsx-a11y/anchor-is-valid */ | |
import React, { Fragment } from 'react'; | |
import PropTypes from 'prop-types'; | |
import useSound from './useSound'; | |
const propTypes = { | |
}; |
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
packages: | |
yum: | |
make: [] | |
cmake: [] | |
gcc-c++: [] | |
gd-devel: [] | |
boost-devel: [] | |
sources: | |
/opt/src/audiowaveform: https://github.com/bbc/audiowaveform/archive/master.zip |
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/bash | |
SOURCE_PATH="$1" | |
DEST_PATH="$2" | |
SOURCE_EXTENSION=".mov" | |
CONSTANT_RATE_FACTOR=24 | |
convert_mp4 () { | |
ffmpeg -y -i "$1" \ | |
-codec:v libx264 \ |
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
mount -o ro,noload /dev/vg1/volume_1 /volume1 | |
df -h | |
synospace --map-file -d | |
synocheckshare | |
ll /volume1 |
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
<!-- This embed code is similar to YouTube --> | |
<!-- You can edit the size by changing the "width" and "height" value --> | |
<iframe src="http://theinvisiblewalls.btselem.org/" width="800" height="600" frameborder="0" allowfullscreen></iframe> | |
<!-- For assistance, contact [email protected] --> |
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
language: php | |
cache: | |
directories: | |
- $HOME/.cache/pip | |
- $HOME/.composer/cache/files | |
php: | |
- 5.6 | |
- 7.0 |
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 { DefaultNetworkLayer } from 'react-relay'; | |
import superagent from 'superagent'; | |
import superagentRetry from 'superagent-retry'; | |
import superagentPromise from 'superagent-promise'; | |
import each from 'lodash/each'; | |
// Add plugins to superagent | |
superagentRetry(superagent); | |
superagentPromise(superagent, Promise); |
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/zsh | |
LAST_VERSION=$(git tag -l | sort -t. -k 1,1n -k 2,2n -k 3,3n -k 4,4n | tail -n 1) | |
NEXT_VERSION=$(echo $LAST_VERSION | awk -F. -v OFS=. 'NF==1{print ++$NF}; NF>1{if(length($NF+1)>length($NF))$(NF-1)++; $NF=sprintf("%0*d", length($NF), ($NF+1)%(10^length($NF))); print}') | |
VERSION=${1-${NEXT_VERSION}} | |
DEFAULT_MESSAGE="Release" | |
MESSAGE=${2-${DEFAULT_MESSAGE}} | |
RELEASE_BRANCH="release/$VERSION" | |
git add . |
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
query getChannels { | |
channels { | |
id | |
type | |
snippet { | |
title | |
description | |
summary | |
picture { | |
width |
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
<!-- Beginning of 101 Widget --> | |
<link media="all" type="text/css" rel="stylesheet" href="//2c820ecf6293c424ffcd-16bd6b31c127d56425d63d7b446e7b4f.r87.cf1.rackcdn.com/widget.v8.css"> | |
<div id="widget-101"> | |
<h2 class="widget-101-title">MTL Blog <br/>is ready <br/>for Quebec’s <br/>independance</h2> | |
<div class="widget-101-inner"> | |
<a href="#" class="widget-101-close"></a> | |
<div class="widget-101-text">Now click on something<br/>and make me 'ben contente'</div> | |
<div class="widget-101-pauline"></div> | |
<div class="widget-101-form-select"> | |
<select name="lang" class="widget-101-select"><option value="fr">---- Français ----</option><option value="fr">---- Français ----</option><option value="fr">---- Français ----</option><option value="fr">---- Français ----</option><option value="fr">---- Français ----</option><option value="fr">---- Français ----</option></select> |
NewerOlder