Skip to content

Instantly share code, notes, and snippets.

View sahaRatul's full-sized avatar
💭
I may be slow to respond.

Ratul Saha sahaRatul

💭
I may be slow to respond.
View GitHub Profile
@sahaRatul
sahaRatul / snapcraft.yaml
Last active May 5, 2018 10:22
Cataclysm: DDA snapcraft config file
name: cataclysm
version: '0.C-Cooper'
summary: Cataclysm - Dark Days Ahead
description: |
Cataclysm: Dark Days Ahead is a roguelike set in a post-apocalyptic world. Surviving is difficult, you have been thrown, ill-equipped, into a landscape now riddled with monstrosities of which flesh eating zombies are neither the strangest nor the deadliest.
grade: devel
confinement: strict
apps:
cataclysm:
command: cataclysm-launcher
import React, { Component } from 'react';
import { injectIntl } from 'react-intl';
import Header from '../header/Header';
import RadioGroup from '../controls/radioGroup';
import './Home.scss';
class Home extends Component {
constructor(props) {
super(props);
}
class FormTest extends React.Component
{
constructor()
{
super()
this.state = {
data:""
}
this.updateState = this.updateState.bind(this)
@sahaRatul
sahaRatul / golomb.rs
Created May 22, 2016 14:21
Implementation of Golomb - Rice compression algorithm in Rust
struct RiceEncodeContext
{
buffer:u32,
filled:u32,
bits:u32,
}
struct RiceDecodeContext
{
buffer:u32,