Skip to content

Instantly share code, notes, and snippets.

View AmyrAhmady's full-sized avatar
:shipit:
shipit shipit

iAmir AmyrAhmady

:shipit:
shipit shipit
View GitHub Profile
int __cdecl gen_gpci(_BYTE *a1, const char *a2, int factor)
{
int v3; // esi
unsigned __int8 v4; // al
unsigned __int8 v5; // dl
unsigned __int8 v6; // cl
unsigned __int8 v7; // bl
unsigned __int8 v8; // al
char v9; // cl
char v10; // bl
@AmyrAhmady
AmyrAhmady / asp.cs
Created January 30, 2020 09:40
mamad
using InstagramApiSharp.API.Builder;
using InstagramApiSharp.API;
using InstagramApiSharp;
using InstagramApiSharp.Classes;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using System.Threading.Tasks;
@AmyrAhmady
AmyrAhmady / sc1.cpp
Created December 31, 2019 14:29
better
int main()
{
if (firstname != NULL)
{
assert(strlen(firstname) <= sNAMEMAX);
strcpy(symbolname, firstname); /* save symbol name */
tag = firsttag;
}
else
{
if (firstname!=NULL) {
assert(strlen(firstname)<=sNAMEMAX);
strcpy(symbolname,firstname); /* save symbol name */
tag=firsttag;
} else {
tag= (firsttag>=0) ? firsttag : pc_addtag(NULL);
tok=lex(&val,&str);
assert(!fpublic);
if (tok==tNATIVE || (tok==tPUBLIC && stock))
error(42); /* invalid combination of class specifiers */
#include <Windows.h>
#include <iostream>
#include "SAA2.h"
const char* SAA2_FILES_A[] =
{
"loadscs.txd",
"HANDLING.CFG",
"surface.dat",
"TIMECYC.DAT",
@AmyrAhmady
AmyrAhmady / josh.c
Last active October 21, 2019 12:02
reeeeeeeeeeeee
int __thiscall sub_401010(int *this)
{
int *v1; // ebx
int v2; // ecx
_DWORD *v3; // eax
signed int v4; // edi
unsigned int v5; // esi
int v6; // edi
int v7; // esi
int v8; // eax
import React from 'react';
import { View, Text } from 'react-native';
type Props = {};
class App extends React.Component<Props> {
renderName(name) {
var a = 8 + 9 + name;
return (
<Text>{a}</Text>

omg hi **code()** hey losers omg

<activity
android:name=".MainActivity"
android:label="@string/app_name"
android:launchMode="singleTask"
android:configChanges="keyboard|keyboardHidden|orientation|screenSize"
android:windowSoftInputMode="adjustResize">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
fetchCities() {
fetch(global.apiURL + '/index/city?id=all')
.then((response) => response.json())
.then((responseJson) => {
this.tempData.cities = responseJson;
this.fetchStates();
})
.catch((error) => {
console.error(error);
alert("خطا در ارتباط با سرور! لیست شهر ها یافت نشد");