Skip to content

Instantly share code, notes, and snippets.

View efernandesng's full-sized avatar
💭
Coiso e tal :)

Emanuel Fernandes efernandesng

💭
Coiso e tal :)
View GitHub Profile
@efernandesng
efernandesng / reset_teamviewer.sh
Last active January 9, 2024 19:38
Remove "Commercial use suspected"/"Commercial use detected" warning on teamviewer 13
#!/bin/bash
##
# Remove "Commercial use suspected"/"Commercial use detected" warning on teamviewer 13
#
# Tested on Arch linux
##
CONFIG_FILE=/opt/teamviewer/config/global.conf
@efernandesng
efernandesng / component.js
Created March 9, 2016 14:41
react-intl injectIntl decorator
import React, {Component, PropTypes} from 'react';
import {intlShape} from 'react-intl';
import {injectIntl} from './decorator';
@injectIntl()
class Xpto extends Component {
static propTypes = {
intl: intlShape.isRequired
};
#include <stdio.h>
static int inicial = 1;
static int final = 5;
int
main (int argc, char **args)
{
int cont = 0;
int pos = inicial;