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 'dart:math'; | |
| import 'package:flutter/material.dart'; | |
| const _duration = Duration(milliseconds: 15); | |
| double randomBorderRadius() { | |
| return Random().nextDouble() * 64 * 1.5; | |
| } | 
  
    
      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
    
  
  
    
  | typeHi = hs.timer.doEvery(1, function() hs.alert('hi') end) | |
| hs.hotkey.bind({'cmd','ctrl','alt'}, "0", "Toggled typeHi", function() if typeHi:running() then typeHi:stop() else typeHi:start() end end) | 
  
    
      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
    
  
  
    
  | // Available variables: | |
| // - Machine | |
| // - interpret | |
| // - assign | |
| // - send | |
| // - sendParent | |
| // - spawn | |
| // - raise | |
| // - actions | 
  
    
      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
    
  
  
    
  | // Available variables: | |
| // - Machine | |
| // - interpret | |
| // - assign | |
| // - send | |
| // - sendParent | |
| // - spawn | |
| // - raise | |
| // - actions | 
  
    
      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
    
  
  
    
  | --[[ | |
| Filling request from: https://www.reddit.com/r/hammerspoon/comments/ai5qtg/request_adding_a_series_of_commands_upon_a_key/ | |
| by: @nonissue / questions, comments: hello@nonissue.org | |
| license: MIT | |
| The following code makes the key combo of CMD + CTRL + OPT + R | |
| send the following key presses (in this order): | |
| r | |
| [return] | 
  
    
      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 | |
| sudo mkdir /Volumes/ESP && sudo mount -t msdos /dev/disk0s1 /Volumes/ESP && sudo bless --mount /Volumes/ESP --setBoot --file /Volumes/ESP/efi/refind/refind_x64.efi --shortform && sudo diskutil unmount /Volumes/ESP && rm -rf /Volumes/ESP | 
  
    
      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
    
  
  
    
  | # Updated so it can handle all files in a directory | |
| # And also, so that it doesn't use the libfaac encoder | |
| for i in *.mp3; do ffmpeg -i "$i" -ac 1 -ab 128000 -f mp4 -c:a aac -y -t 4 "TONE-${i%.*}.m4r"; done | 
  
    
      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 "config"; | |
| // @function exponent() taken from Sassy-math https://github.com/Team-Sass/Sassy-math. | |
| @function exponent($base, $exponent) { | |
| // Thanks to @HugoGiraudel https://github.com/hiulit/Sassy-Gridlover/issues/4 | |
| @if pow(2, 2) == 4 { | |
| @return pow($base, $exponent); | |
| } | |
| // Resets value. | |
| $value: $base; | 
  
    
      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
    
  
  
    
  | --simulate flux | |
| -- Starts hammerspoons location services api | |
| hs.location.start() | |
| -- Stores current location as local lua variable | |
| local loc = hs.location.get() | |
| -- Stops hammerspoon location services api as we have location we need | |
| hs.location.stop() | 
  
    
      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
    
  
  
    
  | <head> | |
| <script src="//tinymce.cachefly.net/4.2/tinymce.min.js"></script> | |
| </head> | |
| <template name="PanelEditAbout"> | |
| <div class="container {{loadingHide}}"> | |
| <h3 class="text-center">Edit About Us</h3> | |
| <a href="/someroute">some other route</a> | |
| <br> | |
| <h1>TinyMCE Getting Started Guide</h1> | 
NewerOlder