Skip to content

Instantly share code, notes, and snippets.

View AbduEhab's full-sized avatar
🪐
A monke in space

Abdelrahman Ehab AbduEhab

🪐
A monke in space
  • Mercedes-Benz Sindelfingen
  • Stuttgart, Germany
  • X @itsabduehab
View GitHub Profile
@pvieito
pvieito / gist:ee6d2c8934a8f84b9aeb467585277b8a
Last active July 19, 2024 10:41
Consumer keys of official Twitter clients

Twitter API Keys

Twitter for iPhone

Consumer key: IQKbtAYlXLripLGPWd0HUA
Consumer secret: GgDYlkSvaPxGxC4X8liwpUoqKwwr3lCADbz8A7ADU

Twitter for Android

Consumer key: 3nVuSoBZnx6U4vzUxf5w
Consumer secret: Bcs59EFbbsdF6Sl9Ng71smgStWEGwXXKSjYvPVt7qys

Twitter for Google TV

Consumer key: iAtYJ4HpUVfIUoNnif1DA

@alexshtf
alexshtf / constexpr_sqrt.cpp
Last active June 7, 2023 11:19
Constexpr version of c++ square root (for doubles)
#include <limits>
namespace Detail
{
double constexpr sqrtNewtonRaphson(double x, double curr, double prev)
{
return curr == prev
? curr
: sqrtNewtonRaphson(x, 0.5 * (curr + x / curr), curr);
}