https://time.siswadi.com/
https://time.siswadi.com/Asia/Jakarta
https://time.siswadi.com/help
https://time.siswadi.com/?help
https://time.siswadi.com/?timezone=Asia/Jakarta
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> | |
import draggable from 'vuedraggable' | |
const vuedraggableProps = { | |
options: Object, | |
// list: { type: Array, required: false, default: null }, We wouldn't really need this, | |
// value: { type: Array, required: false, default: null }, also this. | |
noTransitionOnDrag: { type: Boolean, default: false }, | |
clone: { type: Function, default: original => (original) }, | |
element: { type: String, default: 'div' }, |
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
#include <stdlib.h> // MUST BE BEFORE GLUT ON WINDOWS | |
#ifdef _WIN32 | |
#include <gl/glut.h> | |
#else | |
#include <GLUT/glut.h> | |
#include <OpenGL/gl.h> | |
#include <OpenGL/glu.h> | |
#endif |
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
require 'imba-router' | |
tag second_route | |
prop prevIndex | |
def mount | |
let prevIndex = router.url.split('/').lastIndexOf('Name1') | |
@prevIndex = prevIndex | |
def render | |
<self> | |
if router.url.split('/').lastIndexOf('Name1') > @prevIndex |
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
"use strict"; | |
[foo,bar] = TNG(foo,bar); | |
function foo(origX,origY) { | |
var [x,setX] = useState(origX); | |
var [y,setY] = useState(origY); | |
console.log(`foo: ${x} ${y}`); | |
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
for (var i=1; i <= 20; i++) | |
{ | |
if (i % 15 == 0) | |
console.log("FizzBuzz"); | |
else if (i % 3 == 0) | |
console.log("Fizz"); | |
else if (i % 5 == 0) | |
console.log("Buzz"); | |
else | |
console.log(i); |