Skip to content

Instantly share code, notes, and snippets.

View KamilaBorowska's full-sized avatar

Kamila Borowska KamilaBorowska

View GitHub Profile
package main
var kotaRegex = regexp.MustCompile("(?i)[bcdfghjklmnpqrstvwxz]{5}")
type kotaResult struct {}
func (kotaResult) Description() string {
return "kota being kota"
}
Deals damage to one adjacent target with a 100% chance to confuse it and lower its Defense and Special Attack by 1 stage. The user recovers half of the HP lost by the target, rounded up. If Big Root is held by the user, the HP recovered is 1.3x normal, rounded half down. If this move is successful, the weather changes to Rain Dance for 5 turns unless Rain Dance is already in effect, the user gains the effects of Aqua Ring and Magic Coat, and the user must recharge on the following turn and cannot make a move. Makes contact.
Smeargle
Ability: Moody
- Metronome
Smeargle
Ability: Moody
- Metronome
Smeargle
Ability: Moody
# pacman -Syu
:: Synchronizing package databases...
core 107.1 KiB 544K/s 00:00 [######################] 100%
extra 1530.2 KiB 917K/s 00:02 [######################] 100%
community 2.1 MiB 899K/s 00:02 [######################] 100%
:: Starting full system upgrade...
resolving dependencies...
looking for inter-conflicts...
Packages (37): archlinux-keyring-20140124-1 cryptsetup-1.6.3-2 curl-7.35.0-1
@KamilaBorowska
KamilaBorowska / pokered.asm
Last active August 29, 2015 13:55
Why so many glitch mons have 'M in name
OaksLabScript5: ; 1cbfd (7:4bfd)
ld a, $fc
ld [wJoypadForbiddenButtonsMask], a
ld a, $11
ld [$ff00+$8c], a ; "'M" (0xFE)
call DisplayTextID
call Delay3
ld a, $12
ld [$ff00+$8c], a ; "'M" (0xFF)
call DisplayTextID
layout title categories permalink
post
Individual values
rby gsc
/rby/individual-values/

In first two generations of Pokémon games, the IVs are calculated in different way, compared to newer Pokémon games. The differences in way of calculating make it interesting to document individual values in early Pokémon games.

/u/h/g/.z/m/log $ type ls
ls is a function with definition
function ls --description 'List contents of directory'
command ls -G $argv
end
/u/h/g/.z/m/log $ function ls --description 'List contents of directory'
set -l path $argv .
if test (count $path[1]/*) -gt 500
printf 'Too many files (%d).\n' (count $path[1]/*) >&2
<xfix> Can I login to Linode by using SSH private key? Admin panel, that is.
<Peng> what do you mean by "admin panel"?
<xfix> Linode Manager, that is ;-).
<Peng> Log into a website with an SSH key? No.
* r3c4ll_ has quit (Quit: Saliendo)
<xfix> If I can login to server itself with SSH key, why not to Linode Manager?
<qmr> log in
<rnowak> last time I checked, https isn't using ssh or the openssh key format
<xfix> https://duckduckgo.com/?q=define+login
<xfix> DuckDuckGo claims that it's valid word without spaces.
xfix@pear ~/C/d/v/v> cd v
xfix@pear ~/C/d/f/c> cd v
xfix@pear ~/C/d/q/x> cd v
xfix@pear ~/C/d/u/d> cd v
xfix@pear ~/C/d/m/d> cd v
xfix@pear ~/C/d/a/h> cd v
xfix@pear ~/C/d/d/j> cd v
xfix@pear ~/C/d/e/k> cd v
xfix@pear ~/C/d/m/m> cd v
xfix@pear ~/C/d/o/j> cd v
<?php // for highlighting
// calculate points ber character bonus
// let's see if the number of characters in the post is greater than the minimum characters
if ($newcharcount >= $mybb->settings['newpoints_income_minchar'])
{
// if we have more characters now
if ($newcharcount > $oldcharcount)
{
// calculate bonus based on difference of characters
// bonus will be positive as the new message is longer than the old one