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
# How to fully uninstall Logitech G HUB on macOS via terminal/command line | |
# Tested on macOS version 12.3.1 (21E258) Monterey in April 2022 | |
# with Logitech G HUB version 2022.3.242300 (released on 2022-03-22) installed. | |
# 1. Make sure "Logitech G HUB" itself is not running. If it is, quit it. | |
# 2. Open "Activity Monitor" and force-quit all processes named "lghub*". | |
# 3. Delete system-wide files | |
sudo rm -rf /Applications/lghub.app |
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
Para a inscrição: | |
1. {{var customer}} irá imprimir todas as informações do cliente | |
2. {{var customer.ID}} | |
3. {{var customer.email}} | |
4. {{var customer.firstname}} | |
5. {{var customer.lastname}} | |
6. {{var customer.name}} | |
7. {{var customer.password}} | |
8. {{var customer.created_in}} |
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
javascript:(function({ | |
var INSTAPAPER=true,w=window,d=document,pageSelectedTxt=w.getSelection?w.getSelection():(d.getSelection)?d.getSelection():(d.selection?d.selection.createRange().text:0),pageTitle=d.title,pageUri=w.location.href,tmplt=""; | |
tmplt="From ["+pageTitle+"]("+pageUri+"):\n\n"; | |
if(pageSelectedTxt!="") { | |
pageSelectedTxt=">%20"+pageSelectedTxt; | |
pageSelectedTxt=pageSelectedTxt.replace(/(\r\n|\n+|\r)/gm,"\n"); | |
pageSelectedTxt=pageSelectedTxt.replace(/\n/g,"\n>%20\n>%20"); | |
w.location.href="nvalt://make/?txt="+encodeURIComponent(tmplt+pageSelectedTxt)+"&title="+encodeURIComponent(pageTitle) | |
} | |
else { |
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
var selector = 'img' // Replace this with the selector for the element you want to make transformable | |
jQuery.getScript('//ajax.googleapis.com/ajax/libs/jqueryui/1.10.3/jquery-ui.min.js', function() { | |
jQuery.getScript('//cdnjs.cloudflare.com/ajax/libs/numeric/1.2.6/numeric.min.js', function() { | |
(function() { | |
var $, applyTransform, getTransform, makeTransformable; | |
$ = jQuery; |
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
{ | |
"intents": [ | |
{ | |
"intent": "AMAZON.PauseIntent" | |
}, | |
{ | |
"intent": "AMAZON.ResumeIntent" | |
}, | |
{ | |
"intent": "GeeMusicPlayArtistIntent", |
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
# Source : http://stackoverflow.com/questions/13224718/check-for-active-internet-connection-with-applescript-automator | |
repeat with i from 1 to 5 | |
try | |
do shell script "ping -o -t 5 www.google.com" | |
exit repeat | |
on error | |
delay 20 | |
if i = 5 then error number -128 | |
end try | |
end repeat |
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
<!--- | |
Inspired by Reddit user @lzm | |
https://www.reddit.com/r/Hue/comments/4uvvfe/controlling_your_lights_with_the_backlight_keys/ | |
---> | |
<?xml version="1.0"?> | |
<root> | |
<vkopenurldef> | |
<name>KeyCode::VK_OPEN_URL_SHELL_LIGHT_OFF</name> | |
<url type="shell"> |
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
// dev note: make sure to use an autoprefixer... | |
@mixin underline($background: #fff, $text: #000, $selection: #ffc, $position: 86%){ | |
color: inherit; | |
text-decoration: none; | |
background: linear-gradient($background, $background), linear-gradient($background, $background), linear-gradient($text, $text); | |
background-size: .05em 1px, .05em 1px, 1px 1px; | |
background-repeat: no-repeat, no-repeat, repeat-x; | |
text-shadow: 0.03em 0 $background, -0.03em 0 $background, 0 0.03em $background, 0 -0.03em $background, 0.06em 0 $background, -0.06em 0 $background, 0.09em 0 $background, -0.09em 0 $background, 0.12em 0 $background, -0.12em 0 $background, 0.15em 0 $background, -0.15em 0 $background; | |
background-position-y: $position,$position, $position; |
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://www.alfredforum.com/topic/9070-how-to-workflowenvironment-variables/ |
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
https://gist.github.com/3b5a116aef9154f694ab775a40ea4423 |
NewerOlder