- Яндекс
- Программы стажировок
- Разработка (Python, C++, Java, Go, Kotlin, Scala, C, фронтенд)
- Анализ данных
- Информационная безопасность
- AppSec
- Бизнес
- Программы стажировок
- Тестирование
Discover gists
You are a powerful agentic AI coding assistant, powered by Claude 3.5 Sonnet. You operate exclusively in Cursor, the world's best IDE. | |
You are pair programming with a USER to solve their coding task. | |
The task may require creating a new codebase, modifying or debugging an existing codebase, or simply answering a question. | |
Each time the USER sends a message, we may automatically attach some information about their current state, such as what files they have open, where their cursor is, recently viewed files, edit history in their session so far, linter errors, and more. | |
This information may or may not be relevant to the coding task, it is up for you to decide. | |
Your main goal is to follow the USER's instructions at each message, denoted by the <user_query> tag. | |
<communication> | |
1. Be conversational but professional. |
#include "banzi.h" | |
/* | |
* socket 占页 | |
* https://www.willsroot.io/2022/08/reviving-exploits-against-cred-struct.html | |
* 需要在内核中开启 CONFIG_USER_NS=y, 默认开启 | |
*/ | |
void unshare_setup(uid_t uid, gid_t gid) { | |
int temp; |
import android.view.MotionEvent | |
import androidx.compose.foundation.Canvas | |
import androidx.compose.foundation.background | |
import androidx.compose.foundation.clickable | |
import androidx.compose.foundation.layout.Arrangement | |
import androidx.compose.foundation.layout.Column | |
import androidx.compose.foundation.layout.fillMaxSize | |
import androidx.compose.foundation.layout.fillMaxWidth | |
import androidx.compose.foundation.layout.height | |
import androidx.compose.material3.Text |
The apps listed here are publicly known to be built with Xamarin.Forms.
For a lengthy list of customer case studies and endorsements, visit the Xamarin Customer page.
https://play.google.com/store/apps/details?id=br.com.JetEbusiness.ZapCommerce
This installation is going to require 2 servers one acts as kerberos KDC server
and the other machine is going to be client. Lets assume the FQDN's are (here
cw.com
is the domain name, make a note of the domain name here):
- Kerberos KDC Server: kdc.cw.com
- Kerberos Client: kclient.cw.com
Important: Make sure that both systems have their hostnames properly set and both systems have the hostnames and IP addresses of both systems in
"use client"; | |
import { useRouter } from "next/navigation"; | |
import type { ReactNode } from "react"; | |
import { useCallback, useEffect, useState } from "react"; | |
interface ProximityPrefetchProps { | |
children: ReactNode; | |
threshold?: number; | |
predictionInterval?: number; |
The goal of this script is to help you migrate you old Magento Luma code to Hyvä compliant code. Luma used to rely on Require.js to manage it's javascript components. Hyvä relies on Alpine.js for this. For a lot of modules there are already compatibility modules available. Custom code you have to convert yourself.
There are several ways to use this code:
- Using Tampermonkey (Chrome) or Greasemonkey (Firefox). If you have that installed just click on "Raw" by the
requirejs-finder.user.js
file. - (Temporary) By injecting it into Magento's head. Open the admin and navigate to Content -> Design -> Click your theme -> HTML -> Head -> Add `` and place the code above between the two script tags.
#!/usr/bin/env python | |
''' | |
By just doing a HEAD operation, we can look at the location returned and extract game system and title: | |
$ curl -i --head "https://www.pricecharting.com/search-products?type=videogames&q=096427015055" | |
HTTP/2 307 | |
content-type: text/html; charset=utf-8 | |
location: https://www.pricecharting.com/game/nintendo-ds/cooking-mama-2-dinner-with-friends?q=096427015055 | |
x-appengine-log-flush-count: 0 | |
x-cloud-trace-context: 95201b263e270f913954a519333070f4 |