This file contains hidden or 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
#pragma once | |
#include "util/types.hpp" | |
#include "util/std.hpp" | |
#include "util/ndarray.hpp" | |
#include "util/collections.hpp" | |
#include "util/rand.hpp" | |
#include "util/hash.hpp" | |
#include "util/assert.hpp" | |
#include "util/bitset.hpp" |
This file contains hidden or 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
Step 1: Update your distro | |
=> `$ sudo apt update` | |
Step 2: Add Repository and again update your distro | |
=> `$ sudo add-apt-repository ppa:ondrej/php` | |
Step 3: Install Apache2 | |
=> `$ sudo apt install apache2` | |
Step 4: Here I am going to install PHP php5.6 and php7.4 versions |
This file contains hidden or 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 <stdio.h> | |
int main() { | |
char *str = "ED.GDAD.DLEB.COCC.CV.FS.HQ." | |
"JN.MP.Go.Cr.Cq.Cp.Fk.Jf.J`.I`.H`ID." | |
"J^HE.K^FG.N[ABCG.L`CG.MTBT.MUCS.NTD" | |
"BCBAJ.NUBBHI.OTMI.OROI.OGDCSI.PE[I." | |
"RC[I.rBDB.rB.sB.tB"; | |
int c, i, j; | |
for(i = 0, j = 0; str[i] != '\0'; i++, j++) { | |
c = str[i]-64; |
First you'll have to install the Git command line tool on your machine, following these instructions. Then find the repository that you want to contribute to, copy its address from the green "Clone or Download" button, and on your local machine run e.g.
git clone https://github.com/dmurfet/difflinearlogic.git
To see a list of what has changed (optional) run git status
. Then
This file contains hidden or 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
# light.py - decides whether a Cayley table represents an associative operation | |
# | |
# Copyright 2015 Jeffrey Finkelstein. | |
# | |
# This file is part of Light. | |
# | |
# Light is free software: you can redistribute it and/or modify it under the | |
# terms of the GNU General Public License as published by the Free Software | |
# Foundation, either version 3 of the License, or (at your option) any later | |
# version. |