Skip to content

Instantly share code, notes, and snippets.

View Apexal's full-sized avatar

Frank Matranga Apexal

View GitHub Profile
from subprocess import call
from time import sleep
import random
import os
height, width = os.popen('stty size', 'r').read().split()
width = int(width)-1
height = int(height)-1
grid = []
#!/usr/bin/env ruby
require "date"
require 'fileutils'
require 'yaml'
VERSION = "1.0"
NOW = Date.today
@root = Dir.home+"/Recollect"
// IN main.js
var Discord = require("discord.js");
var bot = new Discord.Client();
// Store all the commands from commands.js in a variable
var commands = require("./commands");
// Prefix that all commands must start with
var commandPrefix = "?";
<!DOCTYPE html>
<html>
<head>
<title></title>
</head>
<body>
<h1> Serpientes y su hábitat </h1>
@Apexal
Apexal / anton
Last active February 2, 2017 21:21
Rock Paper Scissors
import java.util.Scanner;
class Main {
public static void main(String[] args) {
int monCoup = 0;
int monScore = 0;
int leScoredeLOrdinateur = 0;
String monChoix;
@Apexal
Apexal / AntonJaths.java
Created February 2, 2017 23:02
JaThs (Zaniac Anton Lesson 5)
import java.util.Scanner;
class Main {
// MATH GAME
// - Display random math expression to user
// - Allow user to type in the number
// - Every correct answer adds 1 point
// - User is allowed 3 mistakes
// - Game finishes when 4 mistakes are made
// - Displays final score to user
@Apexal
Apexal / thirteenvirtues.json
Created April 9, 2018 04:00
thirteenvirtues
{
"$jason": {
"head": {
"title": "Thirteen Virtues"
}
},
"body": {
"background": "red"
}
}
<?xml version="1.0" encoding="UTF-8"?><Response><Play>https://www.dropbox.com/s/iuj3svqm5ehmu0a/marcus.mp3?dl=1</Play></Response>

Keybase proof

I hereby claim:

To claim this, I am signing this object:

@Apexal
Apexal / Todo.svelte
Created July 3, 2019 03:37
My Svelte Todo App
<script>
/**
This is my first attempt at learning Svelte so I decided to try to make a simple todo list that saves to localStorage.
I was surprised by how few lines it took and how concise everything was, coming from a VueJS background.
I'm not sure of proper Svelte practices or conventions so things might not be ideal here but it seems to work well!
**/
import { onMount } from "svelte";