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
<!-- Solution brought to you by Caroline Schnapp --> | |
<!-- See this: http://wiki.shopify.com/Related_Products --> | |
{% assign image_size = 'compact' %} | |
{% assign heading = 'Other fine products' %} | |
{% if product.tags.size > 0 %} | |
<h3>{{ heading }}</h3> | |
<ul class="related-products"></ul> |
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 | |
#NVIDIA Jetson TK1 | |
#Create a swapfile for Ubuntu at the current directory location | |
fallocate -l 4G swapfile | |
#List out the file | |
ls -lh swapfile | |
# Change permissions so that only root can use it | |
chmod 600 swapfile | |
#List out the file | |
ls -lh swapfile |
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
[07-Mar-2019 19:46:15 UTC] PHP Deprecated: Function create_function() is deprecated in /var/www/html/wp-content/plugins/klaviyo/klaviyo.php on line 90 | |
[07-Mar-2019 19:46:27 UTC] PHP Deprecated: Function create_function() is deprecated in /var/www/html/wp-content/plugins/klaviyo/klaviyo.php on line 90 | |
[07-Mar-2019 19:46:27 UTC] PHP Deprecated: Function create_function() is deprecated in /var/www/html/wp-content/plugins/klaviyo/klaviyo.php on line 90 | |
[07-Mar-2019 19:46:27 UTC] PHP Deprecated: Function create_function() is deprecated in /var/www/html/wp-content/plugins/klaviyo/klaviyo.php on line 90 | |
[07-Mar-2019 19:46:29 UTC] PHP Deprecated: Function create_function() is deprecated in /var/www/html/wp-content/plugins/klaviyo/klaviyo.php on line 90 | |
[07-Mar-2019 19:46:41 UTC] PHP Deprecated: Function create_function() is deprecated in /var/www/html/wp-content/plugins/klaviyo/klaviyo.php on line 90 | |
[07-Mar-2019 19:46:41 UTC] PHP Deprecated: Function create_function() is deprecated in /var/www/html/wp-content |
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
{"lastUpload":"2020-12-28T00:42:08.035Z","extensionVersion":"v3.4.3"} |
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
// launch.json | |
{ | |
"version": "0.2.0", | |
"configurations": [ | |
{ | |
"type": "chrome", | |
"request": "launch", | |
"name": "vuejs: chrome", | |
"url": "http://localhost:8080", |
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
server { | |
listen 80 default_server; | |
server_name example.com www.example.com; | |
access_log /srv/www/example.com/logs/access.log; | |
error_log /srv/www/example.com/logs/error.log; | |
root /srv/www/example.com/public; | |
index index.php index.html; |
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 | |
if(!isset($_REQUEST['action'])) { | |
die("Ahihi"); | |
} | |
call_user_func('action_'.$_REQUEST['action']); | |
function action_xung_ho() | |
{ |
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
sudo apt-get update && sudo apt-get upgrade -y && sudo apt-get dist-upgrade -y && sudo apt-get autoremove -y && sudo apt-get autoclean -y | |
echo "--- Arc Theme ---" | |
sudo sh -c "echo 'deb http://download.opensuse.org/repositories/home:/Horst3180/xUbuntu_16.04/ /' > /etc/apt/sources.list.d/arc-theme.list" | |
wget -nv https://download.opensuse.org/repositories/home:Horst3180/xUbuntu_16.04/Release.key -O Release.key | |
sudo apt-key add - < Release.key | |
echo "--- Papirus Icon-Theme ---" | |
sudo add-apt-repository ppa:papirus/papirus -y |
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
ssh-keygen -t rsa -b 4096 -N '' -C "[email protected]" -f ~/.ssh/id_rsa | |
ssh-keygen -t rsa -b 4096 -N '' -C "[email protected]" -f ~/.ssh/github_rsa | |
ssh-keygen -t rsa -b 4096 -N '' -C "[email protected]" -f ~/.ssh/mozilla_rsa |
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
wget https://nodejs.org/dist/v6.10.0/node-v6.10.0-linux-x64.tar.xz | |
tar xvfJ node-v6.10.0-linux-x64.tar.xz | |
echo 'export PATH=$HOME/node-v6.10.0-linux-x64/bin:$PATH' >> ~/.bashrc | |
. ~/.bashrc | |