Skip to content

Instantly share code, notes, and snippets.

View ftlno's full-sized avatar
🦊

Fredrik Lillejordet ftlno

🦊
View GitHub Profile
@kanzitelli
kanzitelli / React-Native-WebView-Cookies.js
Last active June 27, 2023 08:30
React Native Trick: Get Cookies of WebView without using any native modules such as react-native-cookies. Might be helpful for getting JWT while making OAuth2 👽
// @flow
import React, { Component } from 'react';
import {
WebView,
} from 'react-native';
class LoginScreen extends Component {
state = {
cookies : {},
@eivinhb
eivinhb / vaffel_pannekake_oppskrift.md
Last active August 4, 2019 06:49
Vaffel- og pannekakeoppskrift (Sund og mettende)

Vaffel

1 porsjon metter to sultne

  • 1½ dl hvetemel
  • 1½ dl sammalt hvetemel, fin
  • 1 dl havregryn
  • ½ ts salt
  • ½ ts bakepulver
  • 4 dl lettmelk (0.5%/0.7% aka ekstra lett)
@soffes
soffes / UIFont+Monospaced.swift
Created July 27, 2021 18:17
Monospaced numbers in iOS 15 beta 4
import UIKit
extension UIFont {
public func withMonospacedNumbers() -> Self {
let monospacedFeature: [UIFontDescriptor.FeatureKey: Any]
if #available(iOS 15.0, *) {
monospacedFeature = [
.type: kNumberSpacingType,
.selector: kMonospacedNumbersSelector