LinkedIn.com

VN:F [1.9.22_1171]
Rating: 6.0/10 (1 vote cast)

LinkedIn exists to help you make better use of your professional network and help the people you trust in return.
Linkedin.com

Flickr.com

VN:F [1.9.22_1171]
Rating: 8.5/10 (2 votes cast)

Almost certainly the best online photo management and sharing application in the world

Ready to go out

8 February 2025 @ 3:39 pm

A hot pool on a cold day ️️️

18 January 2025 @ 12:12 am

Colour - Greece

31 December 2024 @ 1:52 am

... Extrem Heat Danger ...

6 December 2024 @ 10:41 am

Volkswagen Scirocco Third Generation

26 November 2024 @ 10:35 am

SEmotion Libellune Jumbo Cat

18 September 2024 @ 4:03 pm

Shibuya at night

16 August 2024 @ 12:30 pm

Monument Valley Forest Gump View

6 August 2024 @ 4:23 pm

MySpace.com

VN:F [1.9.22_1171]
Rating: 4.0/10 (1 vote cast)

Social mix of music, videos and friends
myspace.com

Facebook.com

VN:F [1.9.22_1171]
Rating: 4.0/10 (2 votes cast)

The largest corporate social network on the web, with censorship at it’s heart.

Twitter.com

VN:F [1.9.22_1171]
Rating: 5.9/10 (8 votes cast)

Social out bursts news and comments all within 140 characters. Beware of BOTS and corporate censorship.

Metacafe.com

VN:F [1.9.22_1171]
Rating: 6.0/10 (1 vote cast)

Online Video Entertainment – Free video clips for your enjoyment
Metacafe.com

StackOverflow.com

VN:F [1.9.22_1171]
Rating: 9.4/10 (10 votes cast)

Random snippets of all sorts of code, mixed with a selection of help and advice.

How to use a token from one API response in subsequent requests with Requestly API Client?

22 February 2025 @ 12:01 pm

I'm working on an API using Requestly API Client and facing an issue. My API token expires every 30 minutes, so I frequently need to: Make a login request to get a fresh access token Use that new token in the headers of my API calls For example, when I call our login endpoint: POST /api/auth/login { "username": "[email protected]", "password": "password123" } I get back: { "access_token": "<access_token>", "expires_in": 1800 } Then I need to make other API calls with this token: GET /api/user/profile Authorization: Bearer <access_token> I'm looking for a way to extract the token from the login response and automatically use it for my other requests. This would save me from having to manually copy-paste the new token every 30 minutes when it expires. I've loo

Open a xarray created netCDF in QGIS

22 February 2025 @ 12:01 pm

I have created a netCDF file using xarray in python with this code: latitude_save = sorted(list(set(copy2_sorted['lat']))) longitud_save = sorted(list(set(copy2_sorted['lon']))) time_save = sorted(list(set(copy2_sorted['time']))) tmp = np.array(copy2_sorted['temp']).reshape(len(time_model), 3, 4) xrds = xr.Dataset( coords = dict(time = time_save, lat = latitude_save, lon = longitud_save), data_vars = dict(tas = (['time' , 'lat' , 'lon'], tmp))) xrds = xrds.rio.write_crs("EPSG:4326", inplace=True) file_save = 'C:/Users/72541988B/Desktop/Copernicus/SSP1-1.9/Tas/{}_tas3.nc'.format(model) my_enocding = {'time':{'dtype': 'int32' , '_FillValue': None}, 'lat':{'dtype': 'float32' , '_FillValue': None}, 'lon':{'dtype': 'float32' , '_FillValue': None},

Chrome not showing colors properly using TailwindCSS

22 February 2025 @ 11:55 am

Applied colors to the text inside the anchor tags. When i open it in chrome the colors wont show up but the background color works. <header className="bg-gray-900"> <div> <a className="text-white">Pricing</a> <a className="text-white">Courses</a> <a className="text-red-400">Blog</a> <a className="text-white">Forum</a> </div> </header> When i open it in Safari it works fine. Expected Output(on Safari): Current Output(on Chrome): Tried to search the internet but found no answers.

Favicon is not working for all devices on my react vite project

22 February 2025 @ 11:55 am

Favicon is not working for all devices on my React Vite project. How can I fix this? I have different favicons for Chrome apple and Windows. But for some devices it isn't working. Favicon is not working for all devices on my React Vite project. How can I fix this? I have different favicons for Chrome apple and Windows. But for some devices it isn't working. <!-- Universal Favicons --> <link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png" /> <link rel="icon" type="image/png" sizes="48x48" href="/favicon-48x48.png" /> <link rel="icon" type="image/png" sizes="128x128" href="/favicon-128x128.png" /> <!-- Apple Touch Icons --> <link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png" /> <link rel="apple-touch-ic

NodeJS - Connecting auth backend to frontend

22 February 2025 @ 11:54 am

I'm trying to connect my backend for logging in and signing up to the frontend and this is my implenetation of the auth backend: const jwt = require("jsonwebtoken"); const User = require("../models/userModel"); const catchAsync = require("../utils/catchAsync"); const { promisify } = require("util"); const signToken = (id) => { return jwt.sign({ id }, process.env.JWT_SECRET, { expiresIn: process.env.JWT_EXPIRES_IN, }); }; const createSendToken = (user, statusCode, res, req) => { const token = signToken(user._id); res.cookie("jwt", token, { expires: new Date( Date.now() + process.env.JWT_COOKIE_EXPIRES_IN * 24 * 60 * 60 * 1000 ), secure: true, httpOnly: true, }); //Remove password from output user.password = undefined; res.status(statusCode).json({ status: "success", token, data: { user, }, }); }; exports.register = catchAsync(async (

npm audit says 12 vulnerabilities found in react package

22 February 2025 @ 11:47 am

npm audit says 12 vulnerabilities found in react package and I can't import css module and I can't fix it with npm audit fix --force. Sometimes when I do npm audit fix --force it says npm audit found 128 vulnerabilities and I can't fix it. I also tried create-react-app with offline installer and it doesn't work. Please help. npm audit report nth-check <2.0.1 Severity: high Inefficient Regular Expression Complexity in nth-check - https://github.com/advisories/GHSA-rp65-9cf3-cjxr fix available via npm audit fix --force Will install [email protected], which is a breaking change node_modules/svgo/node_modules/nth-check css-select <=3.1.0 Depends on vulnerable versions of nth-check node_modules/svgo/node_modules/css-select svgo 1.0.0 - 1.3.2 Depends on vulnerable versions of css-select node_modules/svgo @svgr/plugin-svgo <=5.5.0 Depends on vulnerable versions of svgo n

sql escape sequence "\_", leetcode problem 1517

22 February 2025 @ 11:34 am

Problem: To find valid e-mail. A valid e-mail has a prefix name and a domain where: The prefix name is a string that may contain letters (upper or lower case), digits, underscore '_', period '.', and/or dash '-'. The prefix name must start with a letter. The domain is '@leetcode.com'. when I'm using following expression it's working fine '^[a-zA-Z][a-zA-Z0-9\.\_\-]*@leetcode[\.]com$ but the second expression is not matching to strings with '_'(underscores) '^[a-zA-Z][a-zA-Z0-9\.\-\_]*@leetcode[\.]com$' testcase: '[email protected] using mysql as per my understanding both of the regex should give same output but the first one is matching with testcase containing underscores and second one is not

Bun + drizzle + sqlite = broken types for update/insert

22 February 2025 @ 11:08 am

I have a basic sqlite store drizzle-orm: ^0.39.3, drizzle-kit: ^0.30.4 // drizzle.config.ts import { defineConfig } from 'drizzle-kit'; export const DB_FILE = "file:./storage/storage.db"; export default defineConfig({ out: './storage/migrations', schema: './storage/tables.schema.ts', dialect: 'sqlite', dbCredentials: { url: DB_FILE }, verbose: true, strict: true, }); // connection.ts import * as schema from "./tables.schema"; import { drizzle } from 'drizzle-orm/bun-sqlite'; import { DB_FILE } from "./drizzle.config"; import { Database } from 'bun:sqlite'; const sqlite = new Database(DB_FILE, { create: true }); export const db = drizzle({ client: sqlite, schema }); export const closeDb = () => sqlite.close(); export const rawDb = sqlite Example of table declaration, with and without defaults and nonNulls import { sqliteTable, text, integer, unique } from &qu

How to make Shiny's checkboxGroupInput() function working more like a radio button for binary selections?

22 February 2025 @ 11:01 am

I am trying to use Shiny's checkboxGroupInput() so it offers the user a binary choice, where selecting one option automatically deselects the other. I try this in the below MWE code. It works fine when Option 1 is currently selected and the user clicks on Option 2. But it doesn't work when going the other direction: if Option 2 is currently selected and user clicks Option 1, nothing happens: the user has to first click on Option 2 to deselect it and then can click on Option 1 to select it. I would like clicking one to autmotically deselect the other. There should be no scenario where input$choice = none; has to be either "Option 1" or "Option 2", full stop. I could use radioButton(). I've also tried a custom button that works but is very cumbersome. The reason I'm trying to use checkboxGroupInput() is for formatting ease and consistency, because I have a large table of checkboxes where I use checkbo

Subplots with Plotly ternary plots

22 February 2025 @ 10:36 am

I think I am totally lost when it comes to Plotly Express, Plotly_figure_factory etc. I cannot figure how to make subplots with Plotly ternary plots out. First of all, I tried using Plotly Graph Objects, for example I take the ternary plot from ternary scatter plot with Plotly Graph Objects and try to make subplots as detailed here. Putting it all together I end up with import plotly.graph_objects as go from plotly.subplots import make_subplots import plotly.graph_objects as go rawData = [ {'journalist':75,'developer':25,'designer':0,'label':'point 1'}, {'journalist':70,'developer':10,'designer':20,'label':'point 2'}, {'journalist':75,'developer':20,'designer':5,'label':'point 3'}, {'journalist':5,'developer':60,'designer':35,'label':'point 4'}, {'journ

HootSuite.com

VN:F [1.9.22_1171]
Rating: 7.0/10 (2 votes cast)

Professional Twitter, FaceBook, MySpace & Linkedin client online

blogTV.com

VN:F [1.9.22_1171]
Rating: 5.0/10 (1 vote cast)

Watch Live Internet TV and webcam video chat
blogTV.com

Scribd.com

VN:F [1.9.22_1171]
Rating: 7.0/10 (1 vote cast)

Scribd is the largest social publishing company in the world
Scribd.com