Easily work with sketch templates on Git, by having a script that updates them from your repository
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
| # be sure to comment out the require 'capistrano/deploy' line in your Capfile! | |
| # config valid only for Capistrano 3.1 | |
| lock '3.2.1' | |
| set :application, 'my-cool-application' | |
| # the base docker repo reference | |
| set :name, "johns-stuff/#{fetch(:application)}" |
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
| #!/usr/bin/env ruby | |
| def notice(text) | |
| puts "\e[33m#{text}\e[0m" | |
| end | |
| def success(text) | |
| puts "\e[32m#{text}\e[0m" | |
| end | |
| def error(text) |
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
| class HtopOsx < Formula | |
| desc "Improved top (interactive process viewer) for OS X" | |
| homepage "http://hisham.hm/htop/" | |
| url "http://hisham.hm/htop/releases/2.0.0/htop-2.0.0.tar.gz" | |
| sha256 "d15ca2a0abd6d91d6d17fd685043929cfe7aa91199a9f4b3ebbb370a2c2424b5" | |
| depends_on "autoconf" => :build | |
| depends_on "automake" => :build | |
| depends_on "libtool" => :build |
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
| %Plug.Conn{ | |
| adapter: {Plug.Adapters.Cowboy.Conn, :...}, | |
| assigns: %{ | |
| my_assigns: "here" | |
| }, | |
| before_send: [ | |
| #Function<7.125546534/1 in Phoenix.Controller.fetch_flash/2>, | |
| #Function<1.127904613/1 in Plug.Session.before_send/2>, | |
| #Function<1.43511252/1 in Plug.Logger.call/2>, | |
| #Function<0.70322810/1 in Phoenix.LiveReloader.before_send_inject_reloader/1> |
- Page Name:
AdobeTracking.pageName = 'Mr. Robot : S2 Easter Egg Sites : Ransomware : Home'; - URL: http://i239.bxjyb2jvda.net/
- JS: http://i239.bxjyb2jvda.net/web_analytics.js
- Credit: https://0x41.no/mr-robot-s02e01-easter-egg/
On load, this page displays a countdown timer starting at 24:00:00. When time is over, the following "hidden" message is revealed:
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 * as React from "react"; | |
| import { useMousePosition } from "~/hooks/useMousePosition"; | |
| /** Component to cover the area between the mouse cursor and the sub-menu, to allow moving cursor to lower parts of sub-menu without the sub-menu disappearing. */ | |
| export function MouseSafeArea(props: { parentRef: React.RefObject<HTMLDivElement> }) { | |
| const { x = 0, y = 0, height: h = 0, width: w = 0 } = props.parentRef.current?.getBoundingClientRect() || {}; | |
| const [mouseX, mouseY] = useMousePosition(); | |
| const positions = { x, y, h, w, mouseX, mouseY }; | |
| return ( | |
| <div |
OlderNewer