Discover gists
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
[keys.normal] | |
C-f = [":new", ":insert-output lf-pick", "split_selection_on_newline", "goto_file", "goto_last_modification", "goto_last_modified_file", ":buffer-close!", ":theme nord", ":theme default"] | |
# replace the default after theme with the theme you use | |
# open 1 with the open command (l and <left> to open) or more with (<space> to select) then quit | |
# all opened files will be opened in helix |
to workaround this log WARN
when runing JDG clustered mode in a Mac box:
13:49:41,276 WARN [org.jgroups.protocols.UDP] (TransferQueueBundler,shared=udp) JGRP000034: null: failure sending message to /234.99.54.14: java.io.IOException: Can't assign requested address (received 11 identical messages from /234.99.54.14 in the last 63239 ms)
# Adds a multicast route for 224.0.0.1-231.255.255.254
sudo route add -net 224.0.0.0/5 127.0.0.1
# Adds a multicast route for 232.0.0.1-239.255.255.254
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
A little help in Smali | |
(To be supplemented) | |
# | |
general information | |
# | |
Smali | |
Types | |
Dalvik bytecode has two main type classes, primitive types and reference types. Reference types are objects and arrays, everything else is primitive. |
The IronMon challenge is a Pokémon Randomizer Challenge run created by Iateyourpie. Designed to make experiencing the randomizer fun and challenging, while taking away the wild Pokémon grind that come with some other challenges. It was originally made for Fire Red / Leaf Green but the rules can be applied/adjusted for other games as well. If you're interested to find out more about IronMon, join our Discord community!
IronMon has varying levels of difficulties, to keep it more approachable but also provide the toughest challenge possible for those who want it.
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
defmodule TravelerWeb.SearchbarLive do | |
use TravelerWeb, :live_view | |
alias Phoenix.LiveView.JS | |
alias Traveler.Places | |
def mount(_params, _session, socket) do | |
socket = assign(socket, places: []) | |
{:ok, socket, layout: false} | |
end |
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
const { getJson, getBuffer, command, isPrivate, sleep } = require("../lib/"); | |
command({ | |
pattern: "owner", | |
fromMe: isPrivate, | |
desc: "Izumi Owner", | |
type: "support", | |
}, async (message) => { | |
const name = 'Eʏᴘᴢ ☔', title = "Iᴢᴜᴍɪ Sᴜᴘᴘᴏʀᴛ🧚♂️", number = '917994489493', body = "Eʏᴘᴢ☔"; | |
const image = "https://i.imgur.com/JS0TpvM.jpeg", sourceUrl = 'https://github.com/sataniceypz/Izumi-v2'; |
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 | |
# reset jetbrains ide evals v1.0.4 | |
OS_NAME=$(uname -s) | |
JB_PRODUCTS="IntelliJIdea CLion PhpStorm GoLand PyCharm WebStorm Rider DataGrip RubyMine AppCode" | |
if [ "$OS_NAME" == "Darwin" ]; then | |
echo 'macOS:' | |
for PRD in $JB_PRODUCTS; do |
NewerOlder