Requirement: Visual stuio 2019 LLVM : http://releases.llvm.org/8.0.0/LLVM-8.0.0-win64.exe
Step 1: Install Visual studio 2019
Step 2: Install LLVM (remember to check add llvm to system enviroment path)
<?php | |
/* | |
Simple script to convert from Octal to character and character to Octal | |
Author: Oxycoder | |
Sample Octal: 127 150 141 164 040 160 150 171 163 151 143 151 163 164 040 162 145 155 141 162 153 145 144 072 040 042 107 157 144 040 151 163 040 163 165 142 164 154 145 054 040 142 165 164 040 150 145 040 151 163 040 156 157 164 040 155 141 154 151 143 151 157 165 163 042 077 | |
Sample Char: W h a t p h y s i c i s t r e m a r k e d G o d i s s u b t l e b u t h e i s n o t m a l i c i o u s | |
*/ |
<?php | |
use Illuminate\Support\Facades\Password; | |
use Illuminate\Contracts\Hashing\Hasher as HasherContract; | |
class AuthController extends BaseController | |
{ | |
protected $hasher; | |
public function __construct(HasherContract $hasher) | |
{ | |
$this->hasher = $hasher; |
// Player.h | |
type struct Player { | |
char name[23]; | |
int level; | |
} Player; |
// Basic c++ game loop | |
// idea: Render without affected to game logic and input | |
int main() | |
{ | |
bool hasFocus = true; // check if windows is focus and active | |
bool isMinimize = false; // check if windows is minized | |
DWORD currentTime = timeGetTime(); | |
DWORD lastFrameTime = 0; | |
int fpsLimitWithFocused = 60; | |
int fpsLimitWithoutFocus = 15; |
Requirement: Visual stuio 2019 LLVM : http://releases.llvm.org/8.0.0/LLVM-8.0.0-win64.exe
Step 1: Install Visual studio 2019
Step 2: Install LLVM (remember to check add llvm to system enviroment path)
// Include standard font and media definitions | |
#include <font.defs> | |
#include <media.defs> | |
Copyright "Oxycoder" | |
Copyright "License: MIT" | |
// Reference document: https://www.cups.org/doc/ref-ppdcfile.html#CustomMedia | |
// Introduction: https://www.cups.org/doc/ppd-compiler.html | |
// PostScript Dev: https://www.cups.org/doc/postscript-driver.html |
# Check http://releases.llvm.org/download.html#9.0.0 for the latest available binaries | |
FROM ubuntu:18.04 | |
# Make sure the image is updated, install some prerequisites, | |
# Download the latest version of Clang (official binary) for Ubuntu | |
# Extract the archive and add Clang to the PATH | |
RUN apt-get update && apt-get install -y --no-install-recommends \ | |
gnupg \ | |
ca-certificates \ | |
openssl \ |
To extract message, run following command:
yarn extract-i18n
#! /bin/bash | |
echo "install requires tools" | |
sudo apt-get update | |
sudo apt-get install -y cmake libffi-dev libedit-dev swig git gcc g++ pkg-config ninja-build libxml2-dev python3-pip | |
echo "Download llvm source" | |
git clone --depth 1 https://github.com/llvm/llvm-project | |
cd llvm-project |