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
/* http://twitter.github.com/bootstrap/scaffolding.html#responsive */ | |
/* Landscape phones and down */ | |
@media (max-width: 480px) { | |
} | |
/* Landscape phone to portrait tablet */ | |
@media (max-width: 767px) and (min-width: 481px) { | |
} |
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 | |
function up () { | |
levels=$1 | |
if [ -z "$levels" ]; then | |
levels=1 | |
fi | |
# Test if $levels is a number; the -eq operator expects a number, and will |
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
(function() { | |
"use strict"; | |
var els = document.querySelectorAll('input[type=number]'); | |
function makeKeypressEventHandler() { | |
return function (e) { | |
var keyCode = e.which || e.keyCode; | |
if ((keyCode >= 48 && keyCode <= 57) || | |
keyCode == 13 || keyCode == 46) { |
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 | |
if [ "$EUID" -ne 0 ] | |
then echo "error: you must be root to run this script" | |
exit | |
fi | |
FILENAME=/tmp/azuredatastudio-latest.deb | |
LINK=$(curl -s "https://learn.microsoft.com/en-us/sql/azure-data-studio/download-azure-data-studio?view=sql-server-ver16" | hxnormalize -x | hxselect 'table a[data-linktype="external"]' | sed -r 's/(.*)(<a[^>]*>.deb<\/a>)(.*)/\2/' | sed -r 's/(.*)href="([^"]*)"(.*)/\2/') |