Skip to content

Instantly share code, notes, and snippets.

View gfredtech's full-sized avatar
🙆‍♂️
Sag mir, wo kann man das kaufen?

Godfred Asamoah gfredtech

🙆‍♂️
Sag mir, wo kann man das kaufen?
View GitHub Profile
autocmd!
call plug#begin('~/.vim/plugged')
Plug 'junegunn/fzf', { 'do': { -> fzf#install() } }
Plug 'romainl/vim-cool'
" Color schemes
Plug 'ghifarit53/tokyonight-vim'
Plug 'joshdick/onedark.vim'
import pandas as pd
import numpy as np
from sklearn.linear_model import LinearRegression
from sklearn.metrics import mean_squared_error
from sklearn.model_selection import train_test_split
def create_lookup_tables(values):
"""
Create lookup tables for vocabulary
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
<title>Mini App</title>
<style>
#include <iostream>
#include <algorithm>
#include <cstring>
#include <map>
#define NUMBER_OF_PLAYERS 3
#define MAX_NUMBER_OF_STONES 500
using namespace std;
int dp[NUMBER_OF_PLAYERS][MAX_NUMBER_OF_STONES];
package me.gfred.popularmovies2.activity;
import android.annotation.SuppressLint;
import android.content.ContentValues;
import android.content.Context;
import android.content.DialogInterface;
import android.content.Intent;
import android.database.Cursor;
import android.net.Uri;
import android.os.Bundle;
def is_power_of_2(num):
if num < 2:
return False
power = int(math.log(num, 2) + 0.5)
return 2 ** power == num
def func(x, y):
maxx = max(len(x), len(y))
if len(x) == len(y) and is_power_of_2(len(x)):