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
// ==UserScript== | |
// @name Github Pages Source | |
// @version 1.4.0 | |
// @description Easily go to GitHub Pages' source repository | |
// @author kidonng | |
// @namespace https://github.com/kidonng/cherry | |
// @match http*://*.github.io/* | |
// ==/UserScript== | |
;(() => { |
- https://yayimages.com/46563306/drum-logo.html
- https://yayimages.com/46563948/drum-icon.html
- https://yayimages.com/46566812/drum-icon.html
- https://yayimages.com/46566100/drum-icon.html
- https://yayimages.com/46105312/drum-icon.html
- https://yayimages.com/46566812/drum-icon.html
- https://yayimages.com/29971840/drum-kit.html
- https://yayimages.com/28952176/neon-drum-kit.html
- https://yayimages.com/47161018/music-items-icons-set-hand-drawn-sketch-with-notes-instruments-guitar-headphone-drums-music-player.html
- https://yayimages.com/51375876/drum-kit-musical-instrument-vector-illustration-in-doodle-style.html
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
<script | |
type="text/javascript" | |
src="https://cdnjs.cloudflare.com/ajax/libs/firebug-lite/1.4.0/firebug-lite.js#startOpened=true,disableWhenFirebugActive=false" | |
> | |
</script> |
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
<?php | |
/** | |
* Check if value is currency $value | |
* | |
* Pass on: | |
* 1,000,000.00 | |
* 10,000.00 | |
* 1,000.00 | |
* 100.00 |
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
.game { | |
$majorsImp: 'Fireplace1', 'Fireplace2', 'CookingHearth1', 'CookingHearth2', 'ClayOven', 'StoneOven', 'Joinery', 'Pottery', 'Basket', 'Well'; | |
@each $mId in $majorsImp { | |
$i: index($majorsImp, $mId); | |
.card--#{$mId} { | |
background-position-x: (($i - 1) % 5) * 100% / 4; | |
background-position-y: (($i - 1 - ($i - 1) % 5) / 5) * 100%; | |
} | |
} |
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
.game { | |
$majorsImp: 'Fireplace1', 'Fireplace2', 'CookingHearth1', 'CookingHearth2', 'ClayOven', 'StoneOven', 'Joinery', 'Pottery', 'Basket', 'Well'; | |
@each $mId in $majorsImp { | |
$i: index($majorsImp, $mId); | |
&[data-id='Major_#{$mId}'] { | |
.card-icon { | |
background-position-x: (($i - 1) % 5) * 100% / 4; | |
background-position-y: (($i - 1 - ($i - 1) % 5) / 5) * 100%; | |
} |
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
class Reversi extends Table | |
{ | |
////////////////////////////////////////////////////////////////////////////// | |
//////////// Utility functions (functions used everywhere) | |
//////////// | |
// Get the list of returned disc when "player" we play at this place ("x", "y"), | |
// or a void array if no disc is returned (invalid move) | |
function getTurnedOverDiscs( $x, $y, $player, $board ) |
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
<IfModule mod_rewrite.c> | |
RewriteEngine on | |
RewriteCond %{REQUEST_FILENAME} -s [OR] | |
RewriteCond %{REQUEST_FILENAME} -l [OR] | |
RewriteCond %{REQUEST_FILENAME} -d | |
RewriteRule ^.*$ - [NC,L] | |
RewriteRule ^(.*) /app/index.html [NC,L] | |
</IfModule> |
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
<?php | |
if ( !class_exists('Primped_Base_Singleton') ): | |
abstract class Primped_Base_Singleton { | |
/** | |
* Parsed options for module | |
* | |
* @var array |
NewerOlder