Skip to content

Instantly share code, notes, and snippets.

View ukaszjankowski's full-sized avatar

Łukasz Jankowski ukaszjankowski

  • Lionbridge Technologies, LLC
  • Bydgoszcz, Poland
View GitHub Profile
HAL_StatusTypeDef result;
uint8_t i;
for (i=1; i<128; i++)
{
result = HAL_I2C_IsDeviceReady(&hi2c1, (uint16_t)(i<<1), 2, 2);
if (result != HAL_OK)
{
CDC_Transmit_FS(".", 1);
}
if (result == HAL_OK)
git log --all --full-history -- **/thefile.*
Add-Type -AssemblyName System.Windows.Forms
$myshell = New-Object -com "Wscript.Shell"
while(1) {
Start-Sleep -Seconds 60
$myshell.sendkeys("{F16}")
$Pos = [System.Windows.Forms.Cursor]::Position
$x = ($pos.X) + 1
$y = ($pos.Y) + 1
using System;
using System.Linq;
using System.Threading.Tasks;
namespace BruteMission004
{
public class Program
{
public static void Main(string[] args)
{
#include <stdio.h>
#include <string.h>
#include <gmp.h>
#include <cstdio>
int main(int argc, char *argv[])
{
mpz_t a, b, c, d;
char n1[] = "286727957567469097160964321636541616262120875018486518431323373373323997065608342";
def magic1(a, b):
return a + b
def magic2(a, b):
o = 0
i = 0
while i < b:
o = magic1(o, a)
i += 1
return o